Skip to content
GitLab
Menu
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
3ff2d813
Commit
3ff2d813
authored
Jan 02, 1999
by
Manish Singh
Browse files
Doh, thinko.
-Yosh
parent
73c1a752
Changes
2
Hide whitespace changes
Inline
Side-by-side
plug-ins/common/png.c
View file @
3ff2d813
...
...
@@ -37,6 +37,11 @@
* Revision History:
*
* $Log$
* Revision 1.12 1999/01/02 23:47:48 yosh
* Doh, thinko.
*
* -Yosh
*
* Revision 1.11 1999/01/02 23:27:58 yosh
* * app/Makefile.am
* * plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
...
...
@@ -697,7 +702,7 @@ save_image(char *filename, /* I - File to save to */
info
->
width
=
drawable
->
width
;
info
->
height
=
drawable
->
height
;
info
->
bit_depth
=
8
;
info
->
gamma
=
gamma
!=
1
.
00
?
gamma
:
DEFAULT_GAMMA
;
info
->
gamma
=
1
.
0
/
(
gamma
!=
1
.
00
?
gamma
:
DEFAULT_GAMMA
)
;
info
->
sig_bit
.
red
=
8
;
info
->
sig_bit
.
green
=
8
;
info
->
sig_bit
.
blue
=
8
;
...
...
plug-ins/png/png.c
View file @
3ff2d813
...
...
@@ -37,6 +37,11 @@
* Revision History:
*
* $Log$
* Revision 1.12 1999/01/02 23:47:48 yosh
* Doh, thinko.
*
* -Yosh
*
* Revision 1.11 1999/01/02 23:27:58 yosh
* * app/Makefile.am
* * plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
...
...
@@ -697,7 +702,7 @@ save_image(char *filename, /* I - File to save to */
info
->
width
=
drawable
->
width
;
info
->
height
=
drawable
->
height
;
info
->
bit_depth
=
8
;
info
->
gamma
=
gamma
!=
1
.
00
?
gamma
:
DEFAULT_GAMMA
;
info
->
gamma
=
1
.
0
/
(
gamma
!=
1
.
00
?
gamma
:
DEFAULT_GAMMA
)
;
info
->
sig_bit
.
red
=
8
;
info
->
sig_bit
.
green
=
8
;
info
->
sig_bit
.
blue
=
8
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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