stuff
This commit is contained in:
parent
e7aafd3f61
commit
ab5476f270
@ -5,6 +5,7 @@
|
|||||||
- fix includes for gtk+-3.0
|
- fix includes for gtk+-3.0
|
||||||
- report virtual memory too in im__print_all()
|
- report virtual memory too in im__print_all()
|
||||||
- cosmetic changes to nohalo
|
- cosmetic changes to nohalo
|
||||||
|
- im_magick2vips() needs to invert alpha
|
||||||
|
|
||||||
25/3/09 started 7.18.0
|
25/3/09 started 7.18.0
|
||||||
- revised version numbers
|
- revised version numbers
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
* - allow funky bit depths, like 14 (thanks Mikkel)
|
* - allow funky bit depths, like 14 (thanks Mikkel)
|
||||||
* 17/3/09
|
* 17/3/09
|
||||||
* - reset dcm:display-range to help DICOM read
|
* - reset dcm:display-range to help DICOM read
|
||||||
|
* 20/4/09
|
||||||
|
* - argh libMagick uses 255 == transparent ... we must invert all
|
||||||
|
* alpha channels
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -401,7 +404,7 @@ parse_header( Read *read )
|
|||||||
\
|
\
|
||||||
for( x = 0; x < n; x++ ) { \
|
for( x = 0; x < n; x++ ) { \
|
||||||
q[0] = pixels[x].green / SCALE( MAX ); \
|
q[0] = pixels[x].green / SCALE( MAX ); \
|
||||||
q[1] = pixels[x].opacity / SCALE( MAX ); \
|
q[1] = MAX - pixels[x].opacity / SCALE( MAX ); \
|
||||||
\
|
\
|
||||||
q += 2; \
|
q += 2; \
|
||||||
} \
|
} \
|
||||||
@ -426,7 +429,7 @@ parse_header( Read *read )
|
|||||||
q[0] = pixels[x].red / SCALE( MAX ); \
|
q[0] = pixels[x].red / SCALE( MAX ); \
|
||||||
q[1] = pixels[x].green / SCALE( MAX ); \
|
q[1] = pixels[x].green / SCALE( MAX ); \
|
||||||
q[2] = pixels[x].blue / SCALE( MAX ); \
|
q[2] = pixels[x].blue / SCALE( MAX ); \
|
||||||
q[3] = pixels[x].opacity / SCALE( MAX ); \
|
q[3] = MAX - pixels[x].opacity / SCALE( MAX ); \
|
||||||
\
|
\
|
||||||
q += 4; \
|
q += 4; \
|
||||||
} \
|
} \
|
||||||
|
Loading…
Reference in New Issue
Block a user