Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange Export Issue
#1
I am having a very odd time with GIMP today. The issue involves exports.

When I try to export an image that I've worked on as either JPG or PNG, it behaves as if it is working fine but when I upload the image to my hosting service to use on the website I am building, the picture is either entirely undisplayable (most of them) or, a few cases, badly scrambled to the point that I don't even recognize the picture.

I'm simply taking an existing very large picture, scaling it down, then cropping the result and exporting it as JPG or PNG. I've done that many times before. Up until a few hours ago, I was still running GIMP 2.8.18 but after I detected this problem, I upgraded to 2.10.8. Much to my disappointment, I get the same issue in the 2.10.8.

I need to emphasize that I was editing photos quite a bit earlier this week and had no issues with the files produced by exports to either JPG or PNG format. It's as if something has changed in GIMP since earlier this week. I've been running 2.8.18 for the last couple of years and I'm at a loss to try to understand what could have changed in the last couple of days to mess up the export processing.

[Update:
Just as a workaround, I tried to do the same things in IrfanView a few moments ago and it is producing undisplayable pictures too!!!  Now I'm REALLY baffled. Could this be a Windows issue??? I'm running Windows 10 Home (64-bit).]

I hope someone here can suggest a cause for this problem and a way to resolve it. If you need me to upload some samples of the pictures - both the originals and the cropped versions - I will be happy to do that.
Reply
#2
Can you display the picture correctly in your local browser (just drop the picture file on it)? Did you download the picture back from the site and compared it (size, checksum...) or a compare utility, with the file you uploaded?

Otherwise, yes, please attach a few samples with the corresponding URLs.
Reply
#3
(03-17-2019, 11:58 PM)Ofnuts Wrote: Can you display the picture correctly in your local browser (just drop the picture file on it)? Did you download the picture back from the site and compared it (size, checksum...) or a compare utility, with the file you uploaded?

Otherwise, yes, please attach a few samples with the corresponding URLs.

Problem solved!!!

The local copies of the pictures, whether untouched or edited by GIMP or IrfanView, displayed fine on my browser yet were a mess after being uploaded: undisplayable or mangled. I realized it must be my tried and true upload program that was mangling the pictures and was momentarily baffled since FileZilla had always worked fine for me before.

Then the penny dropped. Yesterday, I was playing with my .htaccess file and the reference material that I'd been using warned me to be absolutely positive I uploaded it as Text, not Binary. So I manually set the Transfer Type to Text. It was only when I realized that my picture problem was being caused by FileZilla that I realized I never set the transfer type back to Auto after I finished my .htaccess experiments. As a result, the pictures were being uploaded as text rather than binary so of course they were messed up.

It's not the first time I've shot myself in the foot but I haven't made THAT mistake in a very long time (if ever). ;-)

Anyway, thanks for your help! You got me going in the right direction. :-)

I've given a detailed explanation of what I did wrong so that it can help someone else having a similar problem some day....
Reply


Forum Jump: