Background on Thumbnails

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

Moderators: XnTriq, xnview

Post Reply
AndyPC

Background on Thumbnails

Post by AndyPC » Thu Jul 22, 2004 12:55 pm

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: Sarov, Russia
Contact:

Re: Background on Thumbnails

Post by Nikolay Raspopov » Sat Jul 24, 2004 6:44 pm

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: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Background on Thumbnails

Post by xnview » Tue Jul 27, 2004 7:10 am

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 » Tue Oct 19, 2004 11:16 am

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: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Example for white background with CanvasResize

Post by xnview » Tue Oct 19, 2004 2:20 pm

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 » Tue Dec 12, 2006 10:53 am

Same problem even different sizes between LoadThumbnail and ResizeCanvas.

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

Post by xnview » Tue Dec 12, 2006 1:23 pm

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

Post Reply