-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes in converttif.c for PPC64 #980
Changes in converttif.c for PPC64 #980
Conversation
Before the change: bin/opj_compress -i ../N98_0002-16bit-gray.tif -o N98_0002-16bit-gray.tif.jp2 converttif.c:1284: After the change: bin/opj_compress -i ../N98_0002-16bit-gray.tif -o N98_0002-16bit-gray.tif.jp2 converttif.c:1287: winfried |
@rouault ,
A little endian INT container is different from a big endian container. |
|
@rouault , openjpeg-master-2015-07-31: int imagetotif(opj_image_t * image, const char *outfile)
} opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters)
} I found these types upto openjpeg2-2016-11-30. In openjpeg2-2016-12-07 I found: int imagetotif(opj_image_t * image, const char *outfile)
} opj_image_t* tiftoimage(const char *filename, opj_cparameters_t *parameters)
} winfried |
For the TIFFSetField() part, given that it is a variadic argument, uint16 is automatically promoted to int, which is fine. So I guess this part of your changes is OK, but without effect. Merging in master now. This might be candidate for a v2.2 branch as well |
Type mismatch in 'src/bin/jp2/converttif.c' found using PPC64.
winfried