Open Sahil-5111998 opened 1 year ago
This is GPT's answer: "JPEG-LS is a lossless color image compression algorithm that is typically used to compress 8-bit or 16-bit grayscale or color images. The JPEG-LS algorithm itself does support the compression of 1-bit binary images, but this type of image is less commonly used in practical applications.
For a 1-bit binary image, each pixel has only two possible values, usually black and white. In JPEG-LS compression, several different strategies can be used to compress this type of image, such as:
Using predictive coding methods to encode the difference between neighboring pixels.
Using run-length coding methods to encode consecutive pixels and converting repeated pixels into a single symbol for encoding.
These methods can effectively compress 1-bit binary images, but it should be noted that this type of image is significantly different from grayscale or color images and requires different compression strategies and parameter settings.
In conclusion, the JPEG-LS algorithm does support the compression of 1-bit binary images, but specific parameter settings and optimization adjustments are required for practical applications to achieve optimal compression results."
Hi @rossilhf
I wanted to know if JPEG-LS supports the compression of 1-bit binary images. Upto what I have read about JPEG-LS, the specification regarding the bit depth required for using the compression is not mentioned. So please let me know if there are such specifications that do tell about the bit depth of the image to be compressed.
Thanking you
Sahil Sharma