javax.imageio.IIOException

No SOF segment in stream


Solutions on the web63

Solution icon of github
No SOF segment in stream

Solution icon of github
via GitHub by delkant
, 7 months ago
No SOF segment in stream

Solution icon of stackoverflow
Unsupported JPEG process: SOF type 0xce

Solution icon of stackoverflow
Unsupported JPEG process: SOF type 0xc3

Solution icon of github
Unsupported JPEG process: SOF type 0xcb

Solution icon of github
Unsupported JPEG process: SOF type 0xc3

Solution icon of github
Unsupported JPEG process: SOF type 0xce

Solution icon of github
Invalid JPEG file structure: two SOF markers

Solution icon of stackoverflow
Invalid JPEG file structure: SOS before SOF

Solution icon of googlegroups
Can't create output stream!

Stack trace

  • javax.imageio.IIOException: No SOF segment in stream at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.getSOF(JPEGImageReader.java:792) at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:364) at com.github.jaiimageio.impl.plugins.tiff.TIFFOldJPEGDecompressor.decodeRaw(TIFFOldJPEGDecompressor.java:651) at com.github.jaiimageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2583) at com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1144) at com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1414) at com.xx.xx.service.util.xx.ImageUtil.tif2png(ImageUtil.java:81)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.