I cant open jbig2 file in Magick.NET #1380
-
I dont find JPEG2 format in MagickFormat.cs
but ImageMagick support JBEG2
maybe some code can help you : you can found jbig and jbig2 sample image : |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
That library is not supported because this is licensed under GPL 2.0 and that is not compatible with the license of this project. ImageMagick does know that the compression exists but that doesn't mean it can read it. |
Beta Was this translation helpful? Give feedback.
-
https://hub.njuu.cf/afila/JBIG2-Image-Decoder.NET this is a winform sample |
Beta Was this translation helpful? Give feedback.
-
I will not be adding support for this to the library because this would mean changing ImageMagick and we would need to find another library or implement it ourselves and that will probably not happen. My advise would be to use another library to read the jbig2 image and then convert it to something that can be read by Magick.NET. It looks like JBig2Decoder.NETCore can decode the buffer into another format and then you can feed the byte array to Magick.NET. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
JBIG2Viewer.zip