We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In test_getEncoderParameterListSize in testgpimage.c
test_getEncoderParameterListSize
testgpimage.c
status = GdipGetEncoderParameterListSize (image, &tifEncoderClsid, &size); // FIXME: this returns NotImplemented with libgdiplus. #if defined(USE_WINDOWS_GDIPLUS) assertEqualInt (status, Ok); assertEqualInt (size, is_32bit() ? 164 : 184); #endif status = GdipGetEncoderParameterListSize (image, &gifEncoderClsid, &size); // FIXME: this returns FileNotFound with libgdiplus. #if defined(USE_WINDOWS_GDIPLUS) assertEqualInt (status, Ok); assertEqualInt (size, is_32bit() ? 64 : 80); #endif status = GdipGetEncoderParameterListSize (image, &pngEncoderClsid, &size); // FIXME: this returns FileNotFound with libgdiplus. #if defined(USE_WINDOWS_GDIPLUS) assertEqualInt (status, Ok); assertEqualInt (size, is_32bit() ? 32 : 40); #endif status = GdipGetEncoderParameterListSize (image, &jpegEncoderClsid, &size); assertEqualInt (status, Ok); // FIXME: this returns 44 with libgdiplus. #if defined(USE_WINDOWS_GDIPLUS) assertEqualInt (size, is_32bit() ? 172 : 200); #endif
The text was updated successfully, but these errors were encountered:
Add encoder parameters for gif, tiff and png. Fix jpeg (#219)
57e88ca
Fixes #168
No branches or pull requests
In
test_getEncoderParameterListSize
intestgpimage.c
The text was updated successfully, but these errors were encountered: