GIFs and transpanrecy nobblin me noggin

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

GIFs and transpanrecy nobblin me noggin

Post by flagpole »

can't get my head around PSP's handling of transparency in gifs

for example this image http://nigelcoldwell.co.uk/test/randomlogo.gif standard 89a, non interlaced with single transparency

Image

has a transparent back ground, but whenever i open an image like this in PSP the background always shows black. i always have to open it in PS and save it as a full colour png.

similarly when i save a gif the reverse is true. i'm sure it's me. and something about standards in gif that i haven't understood. i hate gifs, but sometimes you have to....
teknisyan
Posts: 2421
Joined: Wed Oct 06, 2010 4:18 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Sony Corporation VAIO
processor: Intel Corel i5
ram: 4 GB
Video Card: ATI Mobility Radeon HD 5650
sound_card: Realtek HD Audio
Hard_Drive_Capacity: 500 GB
Location: Riyadh, KSA
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by teknisyan »

To my knowledge, the only file format the PSP x4 support for a transparent background is PNG. that should explain why you see black background with that image above.
Like reading blogs?
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by flagpole »

surely it must support transparency in gif. it certainly used to.

and the gif optimizer certainly purports to.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: GIFs and transpanrecy nobblin me noggin

Post by LeviFiction »

It supports it on export but for whatever reason not on import.
https://levifiction.wordpress.com/
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by flagpole »

i find that truly bizarre. the gif optimizer doesn't work properly. the code may as well be removed.

every other graphics package can handle transparency in gif. literally all of them. for those of is that use psp in web or software design they are something we have to live with.

back in the day i used to use psp 7 to make gifs with transparency i wonder when it was removed.
allicorn
Posts: 135
Joined: Sun Mar 16, 2008 12:39 am
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
processor: Phenom II X6 1055T 3.2Ghz
ram: 4Gb
Video Card: ATI5670 1Gb + ATI4290 512Mb
sound_card: Realtek HD onboard
Hard_Drive_Capacity: 2Tb
Monitor/Display Make & Model: Belinea B2025S1W + LG M197WDP
Location: Somerset, UK
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by allicorn »

Just did some little tests and GIF transparency seems to work fine in X4. The brain nobbler perhaps is that GIF isn't transparent in quite the same way as PNG and other fancier formats.

GIF images have a fixed palette of 256 (or less) colors. To make a GIF with transparency, you need to pick one color in your image that will be treated as transparent. So, instead of working on an image in PSP where you can see that checkered background that means transparent, what you want for a GIF is an image where there's a unique solid color background. A good idea it to just make an extra layer right at the bottom and fill it with your chosen color. It should be a color that isn't going to appear in anywhere at all in the rest of the image.

Once you're ready, go to the PSP menu -> Image -> Palette -> Set Palette Transparency. Choose "Set the transparency value to palette entry", click the color picker box beside that and then click any of the pixels that make up the colored background of your image. Now click okay.

Nothing happens at first but you can get PSP to show you this kind of "palette transparency" as if it were regular transparency. Go back to the menu again -> Image -> Palette -> View Palette Transparency.

With that switched on you should see your image with the bits that'll become transparent clearly showing up with the familiar checker pattern.

Save it as a GIF, and this special palette transparency will stick and will work just fine in browsers and any other programs that support transparent GIF images.
Kathy_9
Site Admin
Posts: 2896
Joined: Tue Nov 30, 2010 12:44 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: 8th Generation Intel Core i7 8700 3 20 GHz
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
Corel programs: PSPX2 ~2023; Painter 2018~23
Location: USA
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by Kathy_9 »

I just tried this and it worked exactly as you described. :D Would be nice if the program did this for you.
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by flagpole »

i'm away from the computer that has PSP at the moment. but thanks for your advice.

i was under the impression that the gif optimizer was able to do this for you. but maybe i was wrong.

what about opening gifs? like the one posted. is there a way to do that?
LindaSue
Posts: 515
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: GIFs and transpanrecy nobblin me noggin

Post by LindaSue »

flagpole wrote:i'm away from the computer that has PSP at the moment. but thanks for your advice.

i was under the impression that the gif optimizer was able to do this for you. but maybe i was wrong.

what about opening gifs? like the one posted. is there a way to do that?
Your image background shows as black in PSP because that's the color that is set for the transparency. I checked. Also, when I choose "View Palette Transparency", the background is transparent. It seems to me that it's working as it should.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: GIFs and transpanrecy nobblin me noggin

Post by flagpole »

right thanks all. i've had a play and i can see what's going on.

it's certainly an odd implementation. but i can follow it.

what i frequently have to do is modify old graphics in gif form with transparency and then update as png. in PS all you do is drag in the image, and increase colour depth and your away with a 24bit colour image with transparency. from what i can see in PSP i have to select to view the pallet transparency. select the transparent section, promote the back ground layer, increase colour depth and delete the selection????
Post Reply