This means that JPEG--in-TIFF only supports 8-bit greyscale (= 1 sample with 8 bits per pixel) or 24-bit color images (= 3 samples with 8 bits per pixels).
This means that JPEG--in-TIFF only supports 8-bit greyscale (= 1 sample with 8 bits per pixel) or 24-bit color images (= 3 samples with 8 bits per pixels). TYPE_BYTE_BINARY represents a black/white picture (= 1 sample with 1 bit per pixel). You'd want to use TYPE_BYTE_GRAY instead.
It works, many thanks. But I still have jpg file too big, is there a manner to obtain more compression? Thx.
– omisone Jul 20 at 11:42 JPEG is not a well-suited format for pure B/W pictures, especially for high-resolution ones. What's wrong with using TIFF? PNG might provide better compression (even 'though it's using lossless compression).
– Joachim Sauer Jul 20 at 11:44 I need to emulate a scanner software that made a very compressed jpg (b/w) and I need to write the same format file. In fact, as You said, tiff has the right compressed size but I need to obtain the same size for jpeg format. Thx.
– omisone Jul 20 at 12:10.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.