Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MultiPage Tiff Compression
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153672
Message ID:
01154799
Views:
13
You can set the image resultion by changing the values at the bitmap level using the following API calls (Which is more Cesar's forte)
Declare Long GdipGetImageHorizontalResolution In GDIPlus.Dll ;
			Long nativeImage, Single @ resolution
		Declare Long GdipGetImageVerticalResolution In GDIPlus.Dll ;
			Long nativeImage, Single @ resolution
		Declare Long GdipBitmapSetResolution In GDIPlus.Dll ;
			Long nativeImage, Single xdpi, Single ydpi
>Hello Cesar,
>Your blog was perfect! Everything works just fine.
>
>One more question though, do you know if the DPI (resolution) of an output tif image can be changed to a higer resolution (say from 96 to 200) using the System.vcx classes?
>
>Please let me know
>Thanks Again for all the help!!
>
>>Hi Jennifer,
>>
>>Sorry for the delay to answer.
>>I've posted the solution for your question in my blog.
>>
>>Pls have a look there and tell me if it works !
>>
>>http://weblogs.foxite.com/cesarchalom/archive/2006/09/17/2481.aspx
>>
>>HTH
>>
>>Cesar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform