|
Lines 259-265
Link Here
|
| 259 |
rgba_image.rgba.put.separate = put_separate_and_raster; |
259 |
rgba_image.rgba.put.separate = put_separate_and_raster; |
| 260 |
} |
260 |
} |
| 261 |
} |
261 |
} |
| 262 |
if (rgba_image.rgba.samplesperpixel == 8) |
262 |
if (rgba_image.rgba.bitspersample == 8) |
| 263 |
{ |
263 |
{ |
| 264 |
if (!TIFFRGBAImageGet((TIFFRGBAImage *) & rgba_image, |
264 |
if (!TIFFRGBAImageGet((TIFFRGBAImage *) & rgba_image, |
| 265 |
rast, width, height)) |
265 |
rast, width, height)) |
|
Lines 275-281
Link Here
|
| 275 |
} |
275 |
} |
| 276 |
else |
276 |
else |
| 277 |
{ |
277 |
{ |
| 278 |
printf("channel bits == %i\n", (int)rgba_image.rgba.samplesperpixel); |
278 |
printf("channel bits == %i\n", (int)rgba_image.rgba.bitspersample); |
| 279 |
} |
279 |
} |
| 280 |
|
280 |
|
| 281 |
_TIFFfree(rast); |
281 |
_TIFFfree(rast); |