>> |
Anonymous File :-(, x)
>>242418 After looking at the issue, I made this for peoples. Photoshop only offers a dimension suggestion if the filesize is a "nice" evenly divisible number. The sqrt method, while works in theory, sometimes results in a large number of missing bytes at the end of the file (from the rounding).
This image contains a zip (should open with winrar or 7z if winzip fails) with an html/javascript file (you can inspect code for yourself, I'm not trying to trick you peoples) that makes a best fit approximation for the image size that results in the smallest amount of truncation. It also takes into account the 10000 x 10000 image size at /hr/.
In your case case this code resulted in an image size that truncated 1 byte while the square root method resulted in a loss of almost 3kb.
|