gimp r27359 - in branches/gimp-2-6: . plug-ins/file-psd
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27359 - in branches/gimp-2-6: . plug-ins/file-psd
- Date: Wed, 22 Oct 2008 06:48:02 +0000 (UTC)
Author: neo
Date: Wed Oct 22 06:48:02 2008
New Revision: 27359
URL: http://svn.gnome.org/viewvc/gimp?rev=27359&view=rev
Log:
2008-10-22 Sven Neumann <sven gimp org>
Merged from trunk:
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.
Modified:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/plug-ins/file-psd/psd-save.c
Modified: branches/gimp-2-6/plug-ins/file-psd/psd-save.c
==============================================================================
--- branches/gimp-2-6/plug-ins/file-psd/psd-save.c (original)
+++ branches/gimp-2-6/plug-ins/file-psd/psd-save.c Wed Oct 22 06:48:02 2008
@@ -1544,6 +1544,11 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]