質問

We have encountered multiple corrupted Instagram Standard Images (612px). This happens the last 3-4 days. And across multiple Instagram users.

Strangely this issue is only evident when the images are opened using Adobe Photoshop. When viewed using Mac's finder or Preview this image corrupt problem is not visible.

It affects about 50% of our customers. And mostly about 10-20% of their choosen images. And some can affect around 50-100% of their images.

Example of corrupted images: http://distilleryimage10.s3.amazonaws.com/5875aa2eb24411e3bfe2124c49cf34ce_8.jpg http://distilleryimage0.s3.amazonaws.com/3b3452a8b24411e3b352126f9f588c64_8.jpg

Again, this issue is only evident when the photos are being prepared to print. Or when it is opened using Adobe Photoshop/Acrobat/Illustrator/Indesign.

Please help.

Thanks

Jeff

役に立ちましたか?

解決

I managed to solve my issue with the same description. What I first did was download the images to my webserver exactly to what is was online, so I didn't change anything of the file contents, just get en then put in the file.

How I solved my problem? I use PHP to generate the image now after I donwloaded it the same way. This is the simplified version of my script:

<?php
// Create an image instance
$im = imagecreatefromjpeg('instagram_image.jpeg');

// Disable interlacing
imageinterlace($im, false); // did not use this but will do the same

// Save the image
imagejpeg($im, 'instagram_image.jpeg');
imagedestroy($im);
?>

When I started using this simple create and save script it all worked again. It looks like it does nothing but it did a lot for me! Hope it helps someone saving a lot of time, took me 1,5 day to figure out the exact problem.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top