Link to home
Start Free TrialLog in
Avatar of muis2002
muis2002

asked on

Saving images

Hi,

What is the best (practical) technique to save several images into one file ? And then read it again into an array of TImage ?
Avatar of calinutz
calinutz
Flag of Romania image

What format are the images?
Did you consider saving them to a database? There are several database systems that accept images as fields (blobs).
As for saving them to a file... what do you mean? You could add them to a zip archive if you need this "several images into one file" to help you save space.
And as for reading them use the same zip archive (or whatever) to unpack the files. There are some components that can help you pack more files into one archive. Search on torry or ComponentSource or any other delphi oriented webpages.
  Good luck
ASKER CERTIFIED SOLUTION
Avatar of BlackTigerX
BlackTigerX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of muis2002
muis2002

ASKER

Thanks guys,

I think I will use zip file because it is easy. But too bad I cant unzip it into a memory.
I don't know if the component here
http://www.delphizip.net/

allows you to unzip to memory, but there ARE components that allow you to do that, you might want to search other Zipping components, I use XceedZip (not free) and works really well