Page 1 of 1

Image export

Posted: Fri Jan 16, 2009 9:27 am
by keyless
I resize an image so it fits on a card, but when I export it I want it to be full original size. I have two options for getting the image out, one sets the clipbardData to the image, the other is an export of the image to a jpg file.

The clipboard process works fine, the image pastes as the original image size, not the size resize for the card.

The export image however, gives me a file of the resized image.

How do I export the file at original size?

Posted: Fri Jan 16, 2009 10:15 am
by bn
Hi Keyless,

one way to do it is

Code: Select all

    create invisible image "tempImage"
    set the text of image "TempImage" to the text of image "ResizedImage"
    export image "tempImage".....
    delete image "TempImage"
you could also get the width and hight of the resized image and reset the image to the original size and export it. I think the easiest way is to create a tempImage.
hth
Bernd

Posted: Fri Jan 16, 2009 6:12 pm
by keyless
bn wrote:Hi Keyless,

one way to do it is

Code: Select all

    create invisible image "tempImage"
    set the text of image "TempImage" to the text of image "ResizedImage"
    export image "tempImage".....
    delete image "TempImage"
you could also get the width and hight of the resized image and reset the image to the original size and export it. I think the easiest way is to create a tempImage.
hth
Bernd

Works perfectly. Thank you very much for that.