Changing DPI values

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: helmut, XnTriq, xnview

Guest

Changing DPI values

Post by Guest »

Hello,

I'm having troubles change the DPI values of an Image that I load into 'GflAX', for example:

when I load an JPEG Image:
pixels: 4892 x 1762 (x - y)
DPI: 300 x 300 (x - y)
I need to resize it to a smaller image, and lower the DPI value.
I resize the image to 500x180 pixels. nothing goes wrong here,
But when I change the Xdpi and Ydpi value to 180.
It only changes the Xdpi value. even if I only set the Ydpi value to 180.
the result DPI will always be: 180x300.

Does someone now how to correct this, or is it a bug?

Beste Regards,

Tyhrstan van den Berg.
User avatar
xnview
Author of XnView
Posts: 45867
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Changing DPI values

Post by xnview »

Anonymous wrote:Hello,

I'm having troubles change the DPI values of an Image that I load into 'GflAX', for example:

when I load an JPEG Image:
pixels: 4892 x 1762 (x - y)
DPI: 300 x 300 (x - y)
I need to resize it to a smaller image, and lower the DPI value.
I resize the image to 500x180 pixels. nothing goes wrong here,
But when I change the Xdpi and Ydpi value to 180.
It only changes the Xdpi value. even if I only set the Ydpi value to 180.
the result DPI will always be: 180x300.

Does someone now how to correct this, or is it a bug?
Ok, a bug, i fix it asap
Pierre.
Guest

Post by Guest »

Thanx,

I'm looking forward to the release,

Regards,

T.vdberg
Guest

Post by Guest »

When will the bug be fixed?

Thanks,
A.Weber
User avatar
xnview
Author of XnView
Posts: 45867
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

Anonymous wrote:When will the bug be fixed?
New version will be released next week.
Pierre.