Page 1 of 1

Best way to display thumbnail in asp page

Posted: Tue Oct 19, 2004 9:54 am
by SyntaxError
Hello,

I just wonder what is the best way to display a thumbnail as an <IMG tag in a web page. I currently use the LoadBitpmap with a resize function, but I have seen some thumbnails functions in the help. Would they be better ?What are they for ? Do you have any examples...

Thanks for your help Pierre, this software is really good.

David

Re: Best way to display thumbnail in asp page

Posted: Tue Oct 19, 2004 10:11 am
by xnview
SyntaxError wrote:I just wonder what is the best way to display a thumbnail as an <IMG tag in a web page. I currently use the LoadBitpmap with a resize function, but I have seen some thumbnails functions in the help. Would they be better ?What are they for ? Do you have any examples...
LoadThumbnail is sometimes faster than LoadBitmap+Resize

Example for white background with CanvasResize

Posted: Tue Oct 19, 2004 11:19 am
by SyntaxError
Ok I use now LoadThumbnail, but :

I try to change background thumbnail with GFlax to white but it does not work :

.LoadThumbnail File, Px, Px
.ResizeCanvas Px, Px, RGB (255,255,255)

Could you give one example?

Cheers

David