Site
Home / Forum / Artwork / Corrupted Image Files

Corrupted Image Files


Posted: 02 Feb 2018 11:51

zag


Posts: 3,511
Joined: 2020

Hi all.
I was confused why some fanart is not loadin in my plugin so i checked my local image files cache with ImageMagick.
Here are the results:
identify *.jpg >1.txt
identify: Premature end of JPEG file `02gtox1514467274.jpg' @ warning/jpeg.c/JPE
GWarningHandler/364.
identify: Corrupt JPEG data: premature end of data segment `02gtox1514467274.jpg
' @ warning/jpeg.c/JPEGWarningHandler/364.
identify: Premature end of JPEG file `7lkcyx1514468155.jpg' @ warning/jpeg.c/JPE
GWarningHandler/364.
identify: Corrupt JPEG data: premature end of data segment `7lkcyx1514468155.jpg
' @ warning/jpeg.c/JPEGWarningHandler/364.
identify: Premature end of JPEG file `spxqpx1463225339.jpg' @ warning/jpeg.c/JPE
GWarningHandler/364.
identify: Corrupt JPEG data: premature end of data segment `spxqpx1463225339.jpg
' @ warning/jpeg.c/JPEGWarningHandler/364.
identify: Premature end of JPEG file `wqrtsr1421443672.jpg' @ warning/jpeg.c/JPE
GWarningHandler/364.
identify: Corrupt JPEG data: premature end of data segment `wqrtsr1421443672.jpg
' @ warning/jpeg.c/JPEGWarningHandler/364.

identify *.png >2.txt
identify: iCCP: extra compressed data `yuwpyx1447598632.png' @ warning/png.c/Mag
ickPNGWarningHandler/1705.


Posted: 02 Feb 2018 16:30

zag


Posts: 3,511
Joined: 2020

Great, yep corrupt JPG are always a problem. Just let me know any you find and I will fix.

Alternatively, just upload yourself with them fixed

Posted: 05 Feb 2018 22:41

zag


Posts: 3,511
Joined: 2020

I'm so sorry. My bad
That were partially downloaded fanarts because they were too big to download (>1 MB). Actually, I have 900000 bytes limit somewhere and I don't understand where exactly.
So probably it's my codes's issue and files itselves are okay

Posted: 06 Feb 2018 13:02

zag


Posts: 3,511
Joined: 2020

I can re-sample any larger jpeg files, infact that is a good idea to do now.

But of course more may be uploaded in the future, so best to update your code to accommodate.

Posted: 06 Feb 2018 16:42

zag


Posts: 3,511
Joined: 2020


But of course more may be uploaded in the future, so best to update your code to accommodate.

Yeah, I've found the issue. No corrupted images so far.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 5 (Total: 5)