Printing problem (bko 129948)
Angelo Naselli <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
http://bugs.kde.org/show_bug.cgi?id=129948 Hi, I found the way to get dpi info from png file using dotsPerMeterX and dotsPerMeterY, since they are set from PNGFormat. Looking at the code it is probably possible also for xcf ones. It seems setDotsPerMeterX and setDotsPerMeterY are missed for other image formats. Is it possible to have them for jpeg and maybe also for tiff. From jpeg it should be possible reading units -- one byte: Units for the X and Y densities 0 => no units, X and Y specify the pixel aspect ratio 1 => X and Y are dots per inch 2 => X and Y are dots per cm Xdensity -- two bytes Ydensity -- two bytes Aurélien since I'm not expert in it i need help here. TIA Angelo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gwenview-general mailing list Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/gwenview-general
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFsq9FqEs9DA4DquARAuvbAJ48BtdiIrxTvPGEaoOD35np1jCZPQCfUinQ uO3jBUToLm+u4bQYBYS/hYc= =3ZPQ -----END PGP SIGNATURE-----