![](https://secure.gravatar.com/avatar/9db2065037c299665ed1808a15bd2202.jpg?s=120&d=mm&r=g)
Support Requests item #4319, was opened at 2010-11-06 18:18 Status: Open Priority: 3 Submitted By: Boris Okun (okun) Assigned to: Nobody (None) Summary: jbig2 resolution Category: None Group: None Resolution: None Initial Comment: When including a jbig2enc generated file, the x,y-resolutions seem to be completely off. I think the problem is with the lines 701-702 in writejbig2.c img_xres(img) = (int) (pip->xres * 0.0254 + 0.5); img_yres(img) = (int) (pip->yres * 0.0254 + 0.5); The file has resolution set to 600dpi, according to my hex browser, if I manually change it to 600/0.0254=2362, I get the expected output. Or, perhaps, I and/or jbig2enc misunderstand the format of jbig2 files. Thanks, Boris ----------------------------------------------------------------------
Comment By: The Thanh Han (hanthethanh) Date: 2010-11-08 12:26
Message: can you please attach the image? Regards, Thanh ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=494&aid=4319&group_id=106