ASPImage Documentation

r0ck1t

Perch
I am after some in-depth documentation on ASPImage.

I have read the documentation that is provided by the creator's here, but it is insufficient, I would like some more examples to review.

If you can provide some example code what I would really like to be able to do is resize an image and place a watermark text in the bottom right corner. I am resizing to 512x384 from various sizes, but want to maintain aspect.

Any help is geratly appreciated.

-r0ck1t-
 
r0ck1t said:
I am after some in-depth documentation on ASPImage.

I have read the documentation that is provided by the creator's here, but it is insufficient, I would like some more examples to review.

If you can provide some example code what I would really like to be able to do is resize an image and place a watermark text in the bottom right corner. I am resizing to 512x384 from various sizes, but want to maintain aspect.

Any help is geratly appreciated.

-r0ck1t-

Hi, I decided that I wanted my images to be 150 wide and the aspect ratio to be the same, so I did some basic algebra and came up with this:

divX = Image.MaxX / 150
intXsize = Image.MaxX / divx
intYSize = Image.MaxY / divx
Image.ResizeR intXSize,intYSize

I hope that helps.
 
Back
Top