mirror of https://github.com/GNOME/gimp.git
Bug 556741 – Alpha layer automatically added (in psd format) but not
2008-10-22 Sven Neumann <sven@gimp.org> Bug 556741 – Alpha layer automatically added (in psd format) but not desired * plug-ins/file-psd/psd-save.c: applied patch from Dennis Ranke that flattens the projection for indexed images. svn path=/trunk/; revision=27358
This commit is contained in:
parent
b6ae85b74c
commit
2b892dd8b2
|
@ -1,3 +1,11 @@
|
|||
2008-10-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Bug 556741 – Alpha layer automatically added (in psd format) but
|
||||
not desired
|
||||
|
||||
* plug-ins/file-psd/psd-save.c: applied patch from Dennis Ranke
|
||||
that flattens the projection for indexed images.
|
||||
|
||||
2008-10-22 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpimagefile.c
|
||||
|
|
|
@ -1544,6 +1544,11 @@ create_merged_image (gint32 image_id)
|
|||
if (! transparency_found)
|
||||
gimp_layer_flatten (projection);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gimp_drawable_has_alpha (projection))
|
||||
gimp_layer_flatten (projection); /* PSDs don't support transparency information in indexed images*/
|
||||
}
|
||||
|
||||
return projection;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue