Permlink Replies: 47 - Pages: 4 [ Previous | 1 2 3 4 | Next ] - Last Post: 29 Aug 25, 18:28 Last Post By: JeffTucker
RobM

Posts: 3,940
Registered: 4-Aug-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 21:57   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
RobM wrote:
Did you spoonerise the 95 to 59? ;)

Yes, I did. Same file. Too bad - that was my best theory about why I'd be seeing failures on two wildly different machines.

ETA: At least I am now seeing 37.7.5 for the jAlbum version number. That's progress, I suppose.

Just done another core update and got 37.7.5 too, no change otherwise.
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 22:20   in response to: RobM in response to: RobM
  Click to reply to this thread Reply
Attachment helpabout.txt (13.8 KB)
Don't know if this a related problem, or something completely separate. But with 37.7.5, if I go to Help > About, I get some screen painting errors, and a console dump, attached.
RobM

Posts: 3,940
Registered: 4-Aug-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 22:32   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
Don't know if this a related problem, or something completely separate. But with 37.7.5, if I go to Help > About, I get some screen painting errors, and a console dump, attached.
I don’t get any errors going to the About menu. What I do get when loading the AVIF project is 13,943 occurrences of ‘resetting entropy’. Whacky!
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 22:36   in response to: RobM in response to: RobM
  Click to reply to this thread Reply
RobM wrote:
What I do get when loading the AVIF project is 13,943 occurrences of ‘resetting entropy’.

Well, if you don't reset entropy, it tends to spin out of control.

ETA: FWIW, I get the "About" console dump only if I load a project first - not an AVIF project, but any project.
RobM

Posts: 3,940
Registered: 4-Aug-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 23:24   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
RobM wrote:
What I do get when loading the AVIF project is 13,943 occurrences of ‘resetting entropy’.

Well, if you don't reset entropy, it tends to spin out of control.

ETA: FWIW, I get the "About" console dump only if I load a project first - not an AVIF project, but any project.

I don’t get any errors no matter what I do before I do the about menu.

Let’s put it down to spooky action at a distance.
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 28 Aug 25, 23:28   in response to: RobM in response to: RobM
  Click to reply to this thread Reply
I've got it. It's 240V vs. 120V.
davidekholm

Posts: 3,699
Registered: 18-Oct-2002
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 15:52   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
Don't know if this a related problem, or something completely separate. But with 37.7.5, if I go to Help > About, I get some screen painting errors, and a console dump, attached.

Turns out this problem occurs if you use the Windows L&F since v37.7. I've addressed it for the upcoming release
davidekholm

Posts: 3,699
Registered: 18-Oct-2002
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 15:58   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
Turns out the early AVIF support of the JDeli image package isn't handing some image types, and it isn't super fast either.

I've played with the official native code reference implementation (libavif) and have an experimental integration working in jAlbum here, both reading and writing. Now all AVIF images reads fast and well, but the writer is still very slow, in spite of being native code. It does produce very small and good looking resulting images though. Typically 30% the size of an equivalent JPEG.
AVIF seems to be the future format, just consider:
  • Lossy + lossless
  • Superior compression
  • No license issues
  • HDR support
  • 8,10,12 bit per channel support
  • Alpha support
  • Animation support
  • Wide browser support
  • Supported by both Mac and Windows
davidekholm

Posts: 3,699
Registered: 18-Oct-2002
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 16:01   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
Attachment beach.jpeg (181.2 KB)
Attachment beach.avif (70.8 KB)
Compare these two, the AVIF one is less than half the size of the JPEG and better quality.

(both images generated by jAlbum beta)
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 16:26   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
davidekholm wrote:
Turns out this problem occurs if you use the Windows L&F since v37.7. I've addressed it for the upcoming release

Yes, things go "back to normal" if I switch, for example, to the Flat Light L&F.
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 16:28   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
davidekholm wrote:
Compare these two, the AVIF one is less than half the size of the JPEG and better quality.

Interesting comparison, but I question the assertion that the AVIF is better quality. Side by side, the AVIF loses definition in the clouds (clouds are always a tough test - they usually look awful with the current WEBP processor).
davidekholm

Posts: 3,699
Registered: 18-Oct-2002
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 16:46   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
davidekholm wrote:
Compare these two, the AVIF one is less than half the size of the JPEG and better quality.

Interesting comparison, but I question the assertion that the AVIF is better quality. Side by side, the AVIF loses definition in the clouds (clouds are always a tough test - they usually look awful with the current WEBP processor).


The sky gradients are far smoother with the AVIF image though, right?
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 16:58   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
I'm not seeing that. What I am noticing is that the trees on the horizon are blurry in the AVIF image. The same is true of the clouds - their edges are vague. Ditto for the whitecaps to the left, where they're seen against the turquoise water.

But I suppose it all comes down to a matter of personal preference. I've seen albums on here in which people have over-sharpened their JPG's. To them, they look "crisp," but to me, they look "brittle." And many Nikon owners have long been troubled by the tendency of Nikon engineers to gravitate towards somewhat softer focus when the camera converts from RAW to JPG.
davidekholm

Posts: 3,699
Registered: 18-Oct-2002
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 17:05   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
What viewers are you using? I'm using the default Windows and Mac/Finder viewer and to me, the AVIF image looks better in all regards.
JeffTucker

Posts: 8,090
Registered: 31-Jan-2006
Re: Possible fix to WebP out of memory condition
Posted: 29 Aug 25, 17:08   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
Attachment compare.png (183.8 KB)
Which rendition looks better to you? I'm opening the two images in paint.net (Windows only app).
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums