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
The compression methods seem to be documented at least somewhat here:
1
2
I see imagemagick using these compression methods, so maybe it would make sense to implement them if someone feels like it on a rainy day. :)
imagemagick
@@ -249,8 +251,10 @@ module BitmapMetaData = struct let compression_method_of_int n = match n with | 0 -> Ok RGB + | 1 -> Ok RLE_8bit + | 2 -> Ok RLE_4bit | 3 -> Ok Bitfields - | _ -> Error (`Bmp_error "Invalid compression method") + | u -> Error (`Bmp_error (Printf.sprintf "Invalid compression method %#x" u))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The compression methods seem to be documented at least somewhat here:
1
/ 8-bit: http://www.fileformat.info/format/bmp/corion-rle8.htm2
/ 4-bit: http://www.fileformat.info/format/bmp/corion-rle8.htmI see
imagemagick
using these compression methods, so maybe it would make sense to implement them if someone feels like it on a rainy day. :)The text was updated successfully, but these errors were encountered: