GIF Palettes

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
Shanester
Posts: 13
Joined: Tue Apr 17, 2012 7:46 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: ATI High Definition Audio Device
Hard_Drive_Capacity: 600 GB

GIF Palettes

Post by Shanester »

Greetings,

I've opened a GIF file in the Edit workspace. When I click Image > Palette > Set Palette Transparency, I get an error message:
Auto Actions
The following changes are needed to proceed with your Set Palette Transparency action:
The image must be flattened into a single background layer.
Image must be converted to a 256 color palette.
	OK	Cancel	Help
In the future:	Prompt me before taking these actions
		Always take these actions
How do I find out how many layers the GIF has? The Layers palette only shows one layer.

The other line said the "Image must be converted to a 256 color palette". I thought the default color palette for a GIF was 256 colors. How can I find out what kind of palette this image has? Image > Palette > Edit Palette is greyed out.

Thanks,
Shane.
Corel PaintShop Pro X5 (version 15.3.0.8)
Forriner
Posts: 449
Joined: Mon Aug 13, 2012 9:35 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Z170M-PLUS
processor: Intel Core i5-6400
ram: 16 GB
Hard_Drive_Capacity: 1250 GB
Monitor/Display Make & Model: Philips Brilliance 272b 2560 × 1440
Corel programs: PSP 2023
Location: The Netherlands

Re: GIF Palettes

Post by Forriner »

I assume you did some editing to the image before wanting to define transparency.

What's the name of the layer in the layer palette? If the name is not 'Background' then the background was changed by some action you took on the image, some editing, often to a raster layer. Flattening it (merging all layers) creates a Background layer again.

Editing is almost certain because the colour depth was also raised to more than 256 colours, and has to be converted back to 256 in order to set transparency. There are things PSP can't do to a 256 colour image so the depth had to be raised to 8 or 16 bits.

Under File/Preferences/General program preferences/Auto action you can check (and change if you want) what PSP does when action needs to be taken in order to do what you're trying. The top are the colour depth changes options, and just below those are layer promotions etc.. Actions can be done Never, Always automatically, or you get a Prompt.

Sorry, had too little sleep last night so my English is atrocious today. I hope you can understand.
If you're finished with editing and want to define transparency, just say OK to the prompt, PSP will flatten and reduce depth, and you can finish.
Shanester
Posts: 13
Joined: Tue Apr 17, 2012 7:46 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: ATI High Definition Audio Device
Hard_Drive_Capacity: 600 GB

Re: GIF Palettes

Post by Shanester »

Forriner wrote:I assume you did some editing to the image before wanting to define transparency.
I took a screen-shot of a browser window, pasted it into Paint, then saved it as a GIF. The image was mostly straight lines with a few colours, so I thought that a GIF would have a small file size with no loss of quality.
Forriner wrote:What's the name of the layer in the layer palette? If the name is not 'Background' then the background was changed by some action you took on the image, some editing, often to a raster layer. Flattening it (merging all layers) creates a Background layer again.
The name of the (only) layer is Raster 1. I haven't taken any actions on the image.
Forriner wrote:Editing is almost certain because the colour depth was also raised to more than 256 colours, and has to be converted back to 256 in order to set transparency. There are things PSP can't do to a 256 colour image so the depth had to be raised to 8 or 16 bits.
I didn't realize that a GIF could have more than 256 colors. When I click Image > Count Image Colors, it says that "The number of unique colors used in this image is 172". I actually wasn't trying to set transparency, I was just fooling around trying to figure out why "Edit Palette" is greyed out. When I click Image > Decrease Color Depth > 256 Color Palette, the name of the layer changes to Background, and the Edit Palette option is now working again.

Thanks for your help.
Shane.
Corel PaintShop Pro X5 (version 15.3.0.8)
Post Reply