I keep getting image is too complex to upload.

+5 votes
226 views

I'm uploading an image and it fails:

Sorry, this image cannot be processed. It may be too large or complex. Please contact us for help.

I tried to make it smaller using Photoshop, so now only 2 MB (was 8MB), but same error on new file.  I tried rename to get rid of dots in filename, same error.

On second attempt, it says file already exists and has been upload before, but it does not show on the person.

Not sure what is going on.

Getting same issue with these profiles too: Novak-982, Ovnik-8, and Ovnik-6.

Now I see it is uploaded but not attached to any image.  If I attach, I see the comment is mistakenly listed for the title of the image:

https://www.wikitree.com/photo/jpg/Ovnik-6-1

Something is broken in the upload software.

WikiTree profile: Neža Novak
in WikiTree Tech by William Foster G2G6 Pilot (122k points)
edited by William Foster

1 Answer

+7 votes
 
Best answer

so, the error message about it being too complex is misleading... the problem is more likely that its too large...

and the thing about image size has nothing to do with the actual file size... it has to do with the "image size" -- the total number of pixels it has.

For example, a 2500 x 3500 pixel image has 8,750,000 pixels in it, and each pixel requires 3 bytes of data (for RGB color), so that's about a 25 megabyte image.

The file size will be much smaller, because jpeg images are compressed. In other words, many, if not most of the pixels will be the same or similar in color, so it can "throw away" much of the repeated data, resulting in a file size closer to about 5 to 10 megabytes.

So re-saving an image to a higher compression does not change the actual image size (total number of pixels). You have to reduce the total number of pixels. Both will reduce the overall quality from the original image.

by Dennis Wheeler G2G6 Pilot (578k points)
selected by William Foster
Interestingly, using PNG with same pixel size of 4 to 1 reduction I had tried on JPEG, it works perfectly.

Can we get the error message updated to refer to image pixel size, not file size?
I can't help with the error message...  not sure who can make code changes other than Chris Whitten.

I had forgotten that png images are compressed. And better too, in that its a lossless compression, unlike jpg which is lossy (lossy compression actually throws away data that your eye will never see anyway -- in theory; but lossless compression will always restore to the original image.)

Related questions

+7 votes
1 answer
+1 vote
0 answers
162 views asked Jul 12, 2022 in WikiTree Tech by Living Rayner G2G6 Mach 1 (18.6k points)
+5 votes
1 answer
110 views asked Jul 23, 2015 in WikiTree Tech by Vicki Faith G2G Crew (930 points)
+3 votes
0 answers
174 views asked Jun 16, 2018 in WikiTree Tech by Living Snyder G2G6 Mach 2 (25.1k points)
+4 votes
1 answer
358 views asked Jun 6, 2018 in WikiTree Tech by Jody Rodgers G2G6 Mach 5 (53.5k points)
+3 votes
1 answer

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...