Link to home
Start Free TrialLog in
Avatar of davyberroho
davyberroho

asked on

How appending 2 binary files (pictures) into another binary file

Hello,


I would like to know how I've to append 2 (or more) binary files to a third new(or already existing) binary file. (binary files = in my case pictures)

What kind of stream do I've to use (binary, memory, filestreamer, ... ?????)


If someone could send me a sample, I would really appreciate!


Thanks


Davy.


Avatar of TheAvenger
TheAvenger
Flag of Switzerland image

What's the idea? If you have 2 pictures in 1 file the will become unusable...
You should use a bytestream to read in the pixel information, then you need to make a new picture with the approriate size and then you need to do some Maths to calculate the apprioriate pixel value for it.
Avatar of davyberroho
davyberroho

ASKER

TheAvenger  : I just want to stock lots of images in a large file. (archiving)
ASKER CERTIFIED SOLUTION
Avatar of gregoryyoung
gregoryyoung
Flag of Canada image

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