J
John Williams
Does anyone know a way of creating a PNG file containing several GIF
files programmatically (using Visual Basic)?
Here's what I do manually in Fireworks. Each Gif is 200 x 200 pixels.
1. Create a new canvas, 400 x 400.
2. Import Gif 1 and position in top left corner (x=0, y=0)
3. Import Gif 2 and position in bottom left corner (x=0, y=200)
4. Import Gif 3 and position in top right corner (x=200, y=0)
5. Import Gif 4 and position in bottom right corner (x=200, y=200)
6. Save Png file.
I would like to do the above within a VB program. A COM object or API
to do the above would be very useful. I've searched for PNG encoders
but they all seem to be for Java apps, and don't offer the precise x,y
positioning I require.
Thanks for any help.
files programmatically (using Visual Basic)?
Here's what I do manually in Fireworks. Each Gif is 200 x 200 pixels.
1. Create a new canvas, 400 x 400.
2. Import Gif 1 and position in top left corner (x=0, y=0)
3. Import Gif 2 and position in bottom left corner (x=0, y=200)
4. Import Gif 3 and position in top right corner (x=200, y=0)
5. Import Gif 4 and position in bottom right corner (x=200, y=200)
6. Save Png file.
I would like to do the above within a VB program. A COM object or API
to do the above would be very useful. I've searched for PNG encoders
but they all seem to be for Java apps, and don't offer the precise x,y
positioning I require.
Thanks for any help.