Working with Pictures

This forum is for general support of Xbase++
Post Reply
Message
Author
bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Working with Pictures

#1 Post 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
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Working with Pictures

#2 Post 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
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Working with Pictures

#3 Post 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
greetings by OHR
Jimmy

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Working with Pictures

#4 Post 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
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

Post Reply