[Poppler-bugs] [Bug 45224] pdftoppm-exported JPEGs should retain ppi info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 26 12:55:17 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45224

--- Comment #3 from Adrian Johnson <ajohnson at redneon.com> 2012-01-26 12:55:17 PST ---
(In reply to comment #2)
> Adrian, should the
>  cinfo.in_color_space = colorMode; /* colorspace of input image */
> also be after 
>  jpeg_set_defaults(&cinfo);
> ?

No. The libjpeg documentation for jpeg_set_defaults() states:

  "This routine sets all JPEG parameters to reasonable defaults, using
   only the input image's color space (field in_color_space, which must
   already be set in cinfo)"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list