Re: Printing problem (bko 129948)
Angelo Naselli <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Alle 23:41, domenica 21 gennaio 2007, Angelo Naselli ha scritto: > Alle 01:09, domenica 21 gennaio 2007, Angelo Naselli ha scritto: > > 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 > > Attached patch should do that, If you agree > I can commit it (after having changed indentation ;) ) > > Any help to point me to tiff? > TIA, > Angelo > If I'm not wrong for tiff we need to check [1]: (next to fix another bug, we show only the firs page) PageNumber. SHORT/SHORT. This tag specifies the page numbers in the fax document. The tag comprises two SHORT values: the first value is the page number, the second is the total number of pages. Single- page documents therefore use 00000001 hex. ResolutionUnit = 2,3. SHORT. The units of measure for resolution: 2 = Inch 3 = Centimeter XResolution = 204 (inches). RATIONAL. The horizontal resolution of the image expressed in pixels per resolution unit. YResolution = 98, 196 (inches). RATIONAL. The vertical resolution of the image expressed in pixels per resolution unit. check Angelo [1] http://palimpsest.stanford.edu/bytopic/imaging/std/tiff-f.html ------------------------------------------------------------------------- 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) iD8DBQBFs+2PqEs9DA4DquARArj4AKCtNUMLcxA40Cgs+XS9vRhGmDEuegCeOlhJ M0/sXB9JNrSBtVou4qElGgI= =HSfW -----END PGP SIGNATURE-----