changing DPI with ASP

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

Moderators: XnTriq, helmut, xnview

nec
Posts: 11
Joined: Mon Sep 27, 2004 2:12 am

changing DPI with ASP

Post by nec »

Hi,

I was wondering if it is possible to change x- and Ydpi with ASP.
I cant seem to figure it out by myself.

Is there more ASP examples out there then the five in the zip-package?


Best regards,
User avatar
xnview
Author of XnView
Posts: 43828
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: changing DPI with ASP

Post by xnview »

nec wrote:I was wondering if it is possible to change x- and Ydpi with ASP.
I cant seem to figure it out by myself.
Yes, with Xdpi, Ydpi
Is there more ASP examples out there then the five in the zip-package?
No, but which examples do you want?
Pierre.
nec
Posts: 11
Joined: Mon Sep 27, 2004 2:12 am

Post by nec »

hi again, thanx.

I'd like to load a image - not dependent on format, and save it as .jpg.
In this procedure i need to set the correct values on colormode etc. to be applied to the output - wich is a 32bit .jpg without any compression in a fixed size.

After this i'd like to save it as whatever.jpg.

You think you could help me out?
User avatar
xnview
Author of XnView
Posts: 43828
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

nec wrote:I'd like to load a image - not dependent on format, and save it as .jpg.
In this procedure i need to set the correct values on colormode etc. to be applied to the output - wich is a 32bit .jpg without any compression in a fixed size.
After this i'd like to save it as whatever.jpg.
I don't understand, jpeg can not be RGB 32bits!
Pierre.