Board index » cppbuilder » Saving a Image

Saving a Image


2004-01-23 06:46:20 PM
cppbuilder44
Hi
I would like to generate 1 image
From several images (thumbnails).
Like a contact sheet.
Instead of printing all the thumbnails individually
I would like to print one image containing 10+ thumbnails
Thanks Shawn
 
 

Re:Saving a Image

Shawn wrote:
In the Subject you speak about "Saving" an image.
Quote
I would like to generate 1 image
What kind of image ? Bitmap ? What component ?
Quote
From several images (thumbnails).
What type are the images and what type of picture do they contain ?
Quote
Like a contact sheet.
That is no eyeopener for me.
Quote
Instead of printing all the thumbnails individually
Suddenly you want to "print" the images ?
Quote
I would like to print one image containing 10+ thumbnails
Now would you save it to disk or print it to paper ?
Hans.
 

Re:Saving a Image

What kind of image ? Bitmap ? What component ?
- I would prefer a JPG image
- The component (You tell Me)
What type are the images and what type of picture do they contain ?
- The images are small JPG images (50x50x24)
Suddenly you want to "print" the images ?
- Printing is no problem it is the generating and saving of the image
(contact sheet) to disk!
"Hans Galema" < XXXX@XXXXX.COM >wrote in message
Quote
Shawn wrote:

In the Subject you speak about "Saving" an image.

>I would like to generate 1 image

What kind of image ? Bitmap ? What component ?

>From several images (thumbnails).

What type are the images and what type of picture do they contain ?

>Like a contact sheet.

That is no eyeopener for me.

>Instead of printing all the thumbnails individually

Suddenly you want to "print" the images ?

>I would like to print one image containing 10+ thumbnails

Now would you save it to disk or print it to paper ?

Hans.
 

{smallsort}

Re:Saving a Image

Shawn wrote:
Quote
What kind of image ? Bitmap ? What component ?
- I would prefer a JPG image
- The component (You tell Me)
Please do not place your reply out of context. Why would you retype
sentences where your newsreader already quoted them? Now we have to
scrol down to grab the context.
Quote
What type are the images and what type of picture do they contain ?
- The images are small JPG images (50x50x24)
Please provide exact information. If you have images then where
do they reside ? Do you have some jpg files on disk and are looking
for code to put them in memory or to display ?
Quote
Suddenly you want to "print" the images ?
- Printing is no problem it is the generating and saving of the image
(contact sheet) to disk!
Sorry, but please do not call that printing.
Could you please rephrase what you have and what you need ?
Hans.
 

Re:Saving a Image

What I need is as follow:
I have ten images on my disk (50x50), JPG images
Now I would like to create 1 BIG Jpg Image size (800x600) from all ten
images on my disk(contact sheet), and then save the newly created image also
to my disk.
Shawn
 

Re:Saving a Image

Shawn wrote:
Quote
What I need is as follow:
I have ten images on my disk (50x50), JPG images
So you have ten files on your disk with the extension .jpg?
Quote
Now I would like to create 1 BIG Jpg Image size (800x600) from all ten
images on my disk(contact sheet), and then save the newly created image also
to my disk.
Use TJPEGImage to load a jpg file into memory.
Then assign the TJPEGImage to a Graphics::TBitmap.
Once the image is in a TBitMap you can use CopyRect() to
copy it to another (contact sheet)bitmap.
Repeat ten times adjusting the destination rect for CopyRect().
Then assign the (contact sheet)bitmap to the TJPEGImage and
finally use the SaveToFile method of theTJPEGImage
to save it contents as a file to your disk.
Hans.