Background on Thumbnails

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

Moderators: XnTriq, helmut, xnview

Post Reply
AndyPC

Background on Thumbnails

Post by AndyPC »

How do you set the background on thumbnail images. I keep on getting a black background when I want white.
User avatar
Nikolay Raspopov
Posts: 89
Joined: Thu Jun 24, 2004 4:25 pm
Location: Russia
Contact:

Re: Background on Thumbnails

Post by Nikolay Raspopov »

AndyPC wrote:How do you set the background on thumbnail images. I keep on getting a black background when I want white.
Same question.
User avatar
xnview
Author of XnView
Posts: 43602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Background on Thumbnails

Post by xnview »

AndyPC wrote:How do you set the background on thumbnail images. I keep on getting a black background when I want white.
Use canvas resize
Pierre.
SyntaxError

Example for white background with CanvasResize

Post by SyntaxError »

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 :D

David
User avatar
xnview
Author of XnView
Posts: 43602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Example for white background with CanvasResize

Post by xnview »

SyntaxError wrote: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?
But you can't resize the canvas if the thumbnail has already this size??
Pierre.
jpfumoleau
Posts: 1
Joined: Tue Dec 12, 2006 10:47 am

Post by jpfumoleau »

Same problem even different sizes between LoadThumbnail and ResizeCanvas.
User avatar
xnview
Author of XnView
Posts: 43602
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

jpfumoleau wrote:Same problem even different sizes between LoadThumbnail and ResizeCanvas.
If you use LoadThumbnail, you have only the picture!
Pierre.
Post Reply