Yes, it's possible
The Java version stores additional data in the file, so it's necessary to extract the particular bytes from the file manually. The first 2 bytes of the file contain the image version as 16 bit value (can be ignored), the next 4 bytes (32 bit) contain the total image data length x. The next x bytes then contain the actual image data.
Nice
how can I do that ?