0.5.0 giving "Premature end of JPEG file" error.
See original GitHub issueNot sure what may be causing this. I’ve been using 0.2.0 because it’s been stable for me, but went to test out 0.5.0 in hopes it would fix a problem that was being reported to me with our grunt build
task. However, when I went to upgrade I discovered the same bug that was being reported!
Running "imagemin:dist" (imagemin) task
✔ _dist/images/code_bg.png (already optimized)
✔ _dist/images/bird_32_gray_fail.png (already optimized)
✔ _dist/images/bird_32_gray.png (already optimized)
✔ _dist/images/comics/comic.jpg (already optimized)
✔ _dist/images/comics/characters.jpg (already optimized)
✔ _dist/images/comics/kcco-ep1.jpg (already optimized)
✔ _dist/images/comics/introduction-to-keep-calm-and-code-on.jpg (already optimized)
✔ _dist/images/comics/keep-calm-and-code-on-1-pokemon-institute-security-reports.jpg (already optimized)
✔ _dist/images/comics/keep-calm-and-code-on-3-code-signing.jpg (already optimized)
✔ _dist/images/comics/keep-calm-and-code-on-2-card-skimmers.jpg (already optimized)
Warning: Premature end of JPEG file
Use --force to continue.
Aborted due to warnings.
Not sure what all information is needed. Please let me know. Thanks!
Issue Analytics
- State:
- Created 10 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Premature end of JPEG file - Stack Overflow
Also "Premature end of JPEG file" it's a general software error if image content is not complete. Software determines it by color of...
Read more >Premature end of JPEG file - Agisoft Metashape
I'm getting the error "premature end of jpeg file" while merging five chunks with an average of about 1000 images in them.
Read more >opencv_traincascade message: Premature end of JPEG file. edit
At Stage 9 of training i am this message Premature end of JPEG file ... the error with openCV info and you will...
Read more >Bug listing with status RESOLVED with resolution TEST ...
Bug :233 - "Emacs segfaults when merged through the sandbox. ... Bug:11397 - "gtkmathview-0.5.0 ebuild (New Package)" status:RESOLVED resolution:TEST-REQUEST ...
Read more >convert always has exit code 0 (success) even if failed
And on testing the error codes returned on a known bad jpg I ... gives me a 0. ... convert-im6.q16: Premature end of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
got this error when the file is not really a jpeg, basically the extension is wrong. Did you check that ?
0.6.0 is out. Let us know if you still have this problem.