Script - Convert 256 Color to TrueColor with Transparency

Moderator: Kathy_9

Post Reply
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

Script - Convert 256 Color to TrueColor with Transparency

Post by LeviFiction »

Script Name: ConvertToTrueColorWithTransparency
Download Link: https://drive.google.com/open?id=0B8FlF ... XJHRVYzM0U
Compatability: 9 to X9 supposedly
Requirements: Place in Scripts-Restricted Folder
Description:
This is of a very limited use. Occasionally you will download a PNG or GIF from the internet that uses palette transparency. Unfortunately, PSP does not support converting palette Transparency into actual layer transparency.

This script will increase the image depth to 32-bit and convert the paletted transparency into full layer transparency.

It does this by first verifying that your image is a paletted image and that it supports transparency. Then it sets the transparent index color to a unique value, finally it selects all pixels that match this new value and deletes them. The end result is a fully transparent image you can use as you see fit.
https://levifiction.wordpress.com/
Post Reply