Best way to display thumbnail in asp page

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

SyntaxError

Best way to display thumbnail in asp page

Post 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
User avatar
xnview
Author of XnView
Posts: 45062
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Best way to display thumbnail in asp page

Post 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
Pierre.
SyntaxError

Example for white background with CanvasResize

Post 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