Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Poor quality with image object
Message
 
To
09/12/2003 16:39:27
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00857407
Message ID:
00857491
Views:
27
This message has been marked as the solution to the initial question of the thread.
Hi Michel,

If you are still using the GPIMAGE from Alexander, then you need to pass the second argument that sets the QUALITY from his online docs.
img = CreateObject("gpImage")
img.Load(lcFile2)
img.Thumbnail(325, 244)
img.SaveAsJPEG(lcDir+tcDir+'\'+lcJustFile,95)
> What I have found is that in several occasions, the image saved is having a poor quality.
> I am taking a big picture such as 1024 or 2048 and resizing it to 325. The quality should
> be perfect. Is there a way to adjust a setting into that image object to get the 95% JPG quality?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform