A very common problem we have here is people who can't upload images because they are too big. StackExchange has a long-standing limit of 2 MB (I don't know if this is 2,000,000 or 2,097,152 bytes, but it doesn't make much difference. Typical smartphone images are at least twice this size, often much larger than that. While programmers and other relatively advanced computer users have no problem shrinking images using many different methods, your average user on a non-programming part of StackExchange, such as DIY, has no clue. Often all they know how to do is take a picture and "share" it.
The ideal solution would be for StackExchange to allow larger image upload, with automatic shrinking of files to the 2 MB limit. But I don't see that happening any time soon.
I have written a possible solution to this problem. I took some code I previously wrote (and still use) for converting images to PDFs (send the images in an email to [email protected] - go to https://picturepdf.com for details) and created a similar program for shrinking images. Using it is trivial - send the images in an email to [email protected] - go to https://picturepdf.com/shrink for details.
I am making no money off of this. Someday I might, if I figure out how. But for now - and the foreseeable future - this is another freebie.
- Original images may be up to 15,000,000 bytes.
- Images are shrunk so that the largest dimension is 1,500 pixels. If both dimensions are less than 1,500 pixels then the dimensions are unchanged.
- Images are shrunk at least 50% based on filesize.
- Images are shrunk to 1,500,000 bytes or less. (The exact size varies because of the JPEG compression algorithm, but figure somewhere between 1.4 and 1.5 Meg. typical.)
- Images are sent back in the email and also provided as a link.
- Original images and emails are erased from the server immediately.
- Shrunk images are kept for user download via emailed link for 1 hour and then automatically deleted.
The link is provided because there are plenty of people (trust me on this) who can't figure out how to upload a file from email, depending on the email system they use (and other factors). Since SE allows paste-link-uploads, this provides a solution. But to avoid a bunch of problems (storage space, abuse of the system, etc.) I am limiting these links to (a) 1 hour lifetime and (b) 5 downloads.
Let me know what you think of this. (Based on description, or try it yourself.)
I am sure I tested this before, but today I had a picture to upload so I decided to eat my own dog food, and the link did not work. It worked separately in another browser tab, but not in the StackExchange paste link/image function. I uploaded the shrunken image from my computer and it worked fine. To be continued...