Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Alpha channel in raster images
Alpha channel in raster images [message #13597] Wed, 16 January 2008 12:32 Go to next message
Engeor is currently offline  Engeor
Messages: 12
Registered: January 2008
Promising Member
Does UPP load an alpha channel stored in raster images such like TIF or BMP? Is anything special need to be done to do this? Because I have tried to load an image with an alpha but it doesn't seems to work (image was not displayed as transparent).
Re: Alpha channel in raster images [message #13599 is a reply to message #13597] Wed, 16 January 2008 13:38 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 696
Registered: December 2005
Location: Budapest, Hungary
Contributor
AFAIK, alpha channel is supported in PNG only.
Re: Alpha channel in raster images [message #13860 is a reply to message #13599] Wed, 30 January 2008 12:13 Go to previous messageGo to next message
Engeor is currently offline  Engeor
Messages: 12
Registered: January 2008
Promising Member
I am not able to get alpha values even from PNG. I can set alpha once the image is loaded (one by one) but I am not able load an alpha stored in file.
Re: Alpha channel in raster images [message #13861 is a reply to message #13860] Wed, 30 January 2008 12:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Engeor wrote on Wed, 30 January 2008 06:13

I am not able to get alpha values even from PNG. I can set alpha once the image is loaded (one by one) but I am not able load an alpha stored in file.


Could you provide the testcase?

(A package that tries to load .png and does not work + .png itself).

Mirek
Re: Alpha channel in raster images [message #13862 is a reply to message #13861] Wed, 30 January 2008 12:33 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
(zipped)
Re: Alpha channel in raster images [message #13891 is a reply to message #13597] Thu, 31 January 2008 12:25 Go to previous message
Engeor is currently offline  Engeor
Messages: 12
Registered: January 2008
Promising Member
I am sorry. It was a way how an image have to be saved from Photoshop what needs to be corrected.

(I just tried to save an alpha channel but it does not work. Then I have deleted a background layer and saved just one non-bg-layer where transparent pixels ware erased. Sorry again.)
Previous Topic: Slow image drawing on big images
Next Topic: High Performance Drawing
Goto Forum:
  


Current Time: Tue Apr 16 13:02:44 CEST 2024

Total time taken to generate the page: 0.05898 seconds