Skip to content

Commit

Permalink
TIFF: Added comment to check_c_source_runs() test
Browse files Browse the repository at this point in the history
  • Loading branch information
HappySeaFox committed Apr 21, 2022
1 parent dfa443f commit 79d775d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sail-codecs/tiff/tiff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ macro(sail_codec_post_add)
return 1;
}
/*
* This check is not quite correct as some codecs may not support
* these parameters. For example, JBIG doesn't support RGBA.
*/
TIFFSetField(tiff, TIFFTAG_IMAGEWIDTH, 1);
TIFFSetField(tiff, TIFFTAG_IMAGELENGTH, 1);
TIFFSetField(tiff, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
Expand Down

0 comments on commit 79d775d

Please sign in to comment.