Skip to content

gimp-normalmap can create alpha value 0, then normals don't get saved #6

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create a greyscale image that is also using the color black
2. Turn it into a normalmap with height in alpha
3. Save as TGA

What is the expected output? What do you see instead?
Expected output is a TGA file containing useful data even in the parts that 
have alpha value zero (as these still can have a normal vector). But, the TGA 
actually contains the RGB values (0, 0, 0) where A is 0.

What version of the product are you using? On what operating system?
GIMP 2.6.8
gimp-normalmap 1.2.2
Ubuntu

Please provide any additional information below.
The issue is most likely in GIMP saving the image, however, this decision done 
by GIMP makes sense in MOST cases, as pixels with alpha value 0 usually INDEED 
cannot contain any used data. Therefore, it would probably be best to avoid 
creation of zero alpha pixels inside gimp-normalmap, and use the alpha value 1 
(of 0 to 255) instead.

Original issue reported on code.google.com by divVer...@gmail.com on 20 Aug 2010 at 2:30

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions