|
General Details
|
|
PHP (Hypertext Preprocess...
|
|
Posted 87 Days Ago
|
|
640 Views
|
|
Received 1 Rating
|
|
Remove Transparency
Description
Converts a transparent png image to a jpeg.
Not brilliant... but better than having a completely black background.
Technical
Any pixel in the image that is 100% transparent is converted to a white pixel, else it is converted to black (with except to 0% transparent pixels).
Source Code
|
Download Source Code
source.zip ( 0.24Mb )
|
NEVER open a .exe, .bat, .cmd, or other executable file since that is where viruses are likely to live. Please virus scan all files you download.
|
Comments
| Please login to post comments. |
|
|
But the problem is, parts of the image that are semi transparent (partly transparent) turn black! If someone could fix that, it would be perfect.
|
|
|
I like this. Could prove to be very useful if you don't want to allow transparent images to be uploaded.
|
More "PHP (Hypertext Preprocessor)" Source Codes By This Author
Recently Posted "PHP (Hypertext Preprocessor)" Source Codes
Recently Rated "PHP (Hypertext Preprocessor)" Source Codes
|