Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, August 29, 2007 7:53:46 AM(UTC)
GannettDev

Groups: Registered
Posts: 6


Hi I am using version 15, .Net libraries, c# to be exact. I want to be able to take images that are uploaded by my users, usually at 72 dpi, and convert them to 150 dpi, while retaining the same height/width. Can you point me in the right direction?

Thanks,
Allan Hensley
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, August 30, 2007 12:47:14 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

Was thanked: 1 time(s) in 1 post(s)

Hello,

Try to change the image resolution after loading it by using the MyRasterImage.XResolution and MyRasterImage.YResolution properties as follows:
+-----------+
RasterImage MyRasterImage = codecs.Load(FileName);
MyRasterImage.XResolution = 150;
MyRasterImage.YResolution = 150;
+-----------+

Please let me know if this helps.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.068 seconds.