Page 1 of 1
Working with Pictures
Posted: Mon Jul 30, 2012 10:32 am
by bwolfsohn
We've done lots of picture re-sizing and "optimization" using xbase++ routines over the years... But, i'm wondering if anyone out there is using 3rd party picture tools instead of the built-in xbase++ tools and may have already written some routines for using these tools, xbase problems include not handling non-rgb color pictures, and has some optimization issues, etc
Brian
Re: Working with Pictures
Posted: Mon Jul 30, 2012 11:03 am
by rdonnay
Brian -
I use a third-party dll named re_imageconv.dll.
It contains several functions for image conversion that I could not do in Xbase++.
I wrote an app for a customer that loads .JPG files into an Amulet display and the .JPGs needed to be around 15k in size to best manage memory in the display so it could hold over 500 images.
I use the ResizeImage() function from this DLL.
It has other functions that make work for you./
http://www.softrecipe.com/Software-Deve ... r_dll.html
Re: Working with Pictures
Posted: Wed Aug 01, 2012 10:02 am
by Auge_Ohr
hi,
on Pablo´s Website you will find Wrapper for FreeImage
http://freeimage.sourceforge.net/intro.html
Hector Pezoa
5. Januar 2012
xfree.resources
Re: FreeImagen
greetings by OHR
Jimmy
Re: Working with Pictures
Posted: Wed Aug 01, 2012 11:52 am
by bwolfsohn
Jimmy,
thanks for the information, but we've already implemented re_imageconv.dll.
If anyone is doing any jpeg image resizing using the xbase++ built-in routines, RUN, do not walk to implement re_imageconv.dll.
The images from re_imageconv.dll. are better quality, and anywhere from 50% to 70% SMALLER than images of the same size built w/ xbase++ routines.
The code to use re_imageconv.dll. is also 1/2 to 1/3 the size of the code we were using. It took me about 2 hours to replace and test all of our resizing code.
Brian