"The phone is a remarkably complex, simple device, and very rarely ever needs repairs, once you fix them." - Dan/Panther
Started by TelePlay, July 23, 2017, 01:02:23 PM
Quote from: unbeldi on July 23, 2017, 01:47:11 PMThis is actually not a new problem. It is the identical problem that occurred before I asked to install a patch I had created to increase the memory allocated for thumbnail creation, which was implemented about two or three years ago. But with images large enough the memory allocated would obviously be still too small.
Quote from: TelePlay on July 23, 2017, 02:08:55 PMIt might well be but wasn't it the case that a large image, over 4 mBytes would not just give a blank screen but would lock the top for everyone and the person uploading the large image would have to PM a moderator and that mod would have to tell Dennis which reply to delete from his administrative level access? The whole reply would be deleted and the member would have to start over with smaller images.
QuoteAnd these images were but 3 mBytes in size.
Quote from: unbeldi on July 23, 2017, 02:30:12 PMThe change for the memory limit for the resize operation was increased from 90 MB to 256 MB.3 mBytes is very very small. That means 3 millibytes. The symbol for mega is capital M, as in 3 MB. The file size of the image is not what counts actually. What counts is the size of the uncompressed, raw image.They did not lock the topic, merely stopped with a blank screen not being able to show the image even though it was attached.
Quote from: Jack Ryan on July 23, 2017, 07:52:56 PMI know that one is often very restricted in what can be achieved with a patch but is it possible to determine the required buffer size from the original image size? A fixed size buffer should never have been used in the first place - particularly if the requirement is not being calculated and tested for.
Quote from: TelePlay on July 23, 2017, 09:45:44 PMFunny, Jack. Seriously, that made me smile.I am guessing but I would say the last patch created by unbeldi was 3,000 kBytes. As part of my testing, I could upload a 2.9 MByte image but a 3.1 MByte image gave me a white screen.
QuoteThere are size options, actually many option, for posting. 6 images per reply is one that has been in place for a long time. We just changed the maximum image size from "0" (unlimited size" to 3,000 kBytes (3 MBytes so as not to confuse anyone).
QuoteSo how big of a file is really needed to upload and the question you raise is how much temporary space has to be allocated for the software to do an extensive security test of the image and if an issue is found, send the file to the GD module for stripping of meta data and recoding and downsizing the image to get a
Quote from: Jack Ryan on July 23, 2017, 07:52:56 PMOff on a tangent - now that "mega" has been addressed, we should address "seconds". Milliseconds is ms, mS is milli-Siemens.