You are here

[Fixed] gimp 2.8.6: jpg-precalculation of file-size

5 posts / 0 new
Last post
syna
syna's picture
Offline
Last seen: 5 months 1 week ago
Joined: 2012-08-26 18:54
[Fixed] gimp 2.8.6: jpg-precalculation of file-size

Hello portable-apps-team!

The latest version of GIMP, 2.8.6 ref-2, still shows the bug of the
"jpg-precalculation of file-size".

If you save an image as "jpg" a window pops up - and you are
asked what quality you want to have. In this window you can
check "precalculate jpg-file size". But this precalculation still
doesn't work. You always get a constant value "5.9 EB".

The precalculation-size is very helpful if you work on pictures
which had to be small. So if you send pics via e-mail or
you work on websites etc. you need the precalculation of jpg-
sizes in order to choose the appropriate compromise between
quality and file-size.

In my exploration in the forum "gimpforum.de" somebody
assumed that the portable version of GIMP was compiled with
the currend GIMP-version, but with an older version of the
GLIB
. He said that most probably this older GLIB is the
reason for the wrong precalculation of the jpg-file-size.

So this problem should be solved by a new portable version
based on the current GIMP-installer version, which is here:
http://gimp-win.sourceforge.net

Could this be worth a try?

Greetings, syna.

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
We Don't Compile, It's Official GIMP

We don't compile GIMP. We take a standard install from the official GIMP Windows installer on 32-bit Windows and package that as portable. No changes to the base app other than UPX compression of files over a specific size. We have to use 32-bit (not 64-bit) so that it'll work on all PCs as you move around and use PCs at work, school, net cafe, etc (if we used 64-bit, it would fail on about 1/3 of em). We may go dualmode later (32 + 64 in one package).

Likely, this is a bug in GIMP itself. They've had bugs exclusive to the 32-bit version in the past. We don't handle base app bug reports or fixes ourselves, just portablization issues.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Confirmed Portable Bug

Ok, I've confirmed this is a portable-specific bug due to UPX compression. I tested the 32-bit version unmodified and it works fine. The portable version exhibits this behavior. The portable version without the App\gimp\lib directory AppCompactor compressed does not exhibit this. So, there is a DLL which is compressed that has some of its functionality compromised due to compression. Note that using AppCompactor to DECOMPRESS will not fix this issue. This is one of the rare files that will compress and tests as properly compressed fine by UPX but is not properly compressed and will not uncompress.

I'm tracking down the specific file.

UPDATE: The file is within App\gimp\lib\gimp\2.0

UPDATE2: It's the plug-ins. They aren't supposed to be compressed but were in the last release. I'll have a revision up to fix it shortly.

UPDATE3: Rev 3 is built and mirroring.

Sometimes, the impossible can become possible, if you're awesome!

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 48 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in 2.8.6 Rev 3

This issue is fixed in 2.8.6. Rev 3.

Sometimes, the impossible can become possible, if you're awesome!

syna
syna's picture
Offline
Last seen: 5 months 1 week ago
Joined: 2012-08-26 18:54
Thanx!

Thank you John!

It was a small issue, but an important one. And you solved it!
Big thanks!

~~~ syna ~~~

Log in or register to post comments