You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The image was generated using ImageMagick and libjpeg's cjpeg and is a valid image with a SOF0 marker, but Decode() complains about invalid JPEG format: missing SOF marker.
The text was updated successfully, but these errors were encountered:
For the record, I stumbled across this issue while debugging an image resizer, I had some images that wasn't resized and the error message was the same as this issue, so I tried to get the type of the file and turns out to be png and I forgot to import the png and also gif decoders to my app.
just to save some time for other people who gets here.
http://play.golang.org/p/qUNLzBVraB
The image was generated using ImageMagick and libjpeg's cjpeg and is a valid image with a SOF0 marker, but Decode() complains about
invalid JPEG format: missing SOF marker
.The text was updated successfully, but these errors were encountered: