Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
2f779f48
Commit
2f779f48
authored
Jan 12, 1999
by
Manish Singh
Browse files
small patch from Nick Lamb that does "The Right Thing (TM)" for RGB tiff images
-Yosh
parent
344ffe8e
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
2f779f48
Mon Jan 11 18:11:32 PST 1999 Manish Singh <yosh@gimp.org>
* plug-ins/tiff/tiff.c: small patch from Nick Lamb that
does "The Right Thing (TM)" for RGB tiff images
Mon Jan 11 17:30:06 PST 1999 Manish Singh <yosh@gimp.org>
* commands.[ch]
...
...
plug-ins/common/tiff.c
View file @
2f779f48
...
...
@@ -1053,6 +1053,7 @@ static gint save_image (char *filename, gint32 image, gint32 layer) {
switch
(
drawable_type
)
{
case
RGB_IMAGE
:
predictor
=
2
;
samplesperpixel
=
3
;
bitspersample
=
8
;
photometric
=
PHOTOMETRIC_RGB
;
...
...
@@ -1067,6 +1068,7 @@ static gint save_image (char *filename, gint32 image, gint32 layer) {
alpha
=
0
;
break
;
case
RGBA_IMAGE
:
predictor
=
2
;
samplesperpixel
=
4
;
bitspersample
=
8
;
photometric
=
PHOTOMETRIC_RGB
;
...
...
plug-ins/tiff/tiff.c
View file @
2f779f48
...
...
@@ -1053,6 +1053,7 @@ static gint save_image (char *filename, gint32 image, gint32 layer) {
switch
(
drawable_type
)
{
case
RGB_IMAGE
:
predictor
=
2
;
samplesperpixel
=
3
;
bitspersample
=
8
;
photometric
=
PHOTOMETRIC_RGB
;
...
...
@@ -1067,6 +1068,7 @@ static gint save_image (char *filename, gint32 image, gint32 layer) {
alpha
=
0
;
break
;
case
RGBA_IMAGE
:
predictor
=
2
;
samplesperpixel
=
4
;
bitspersample
=
8
;
photometric
=
PHOTOMETRIC_RGB
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment