Thread Locked This thread is locked - replies are not allowed.



Permlink Replies: 74 - Pages: 5 [ Previous | 1 2 3 4 5 ] - Last Post: 7 Jan 26, 22:01 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 29 Dec 25, 22:50   in response to: davidekholm in response to: davidekholm
Attachment imagesToday.png (21.3 KB)
davidekholm wrote:
I tried with "hfill" borders, but it really didn't look good. I'll check with Laza what he thinks can be done about it.

Gee, I can't imagine how this could be solved. ;)
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 29 Dec 25, 23:17   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
Ah, for some reason, I had commented-out the "dimension editor" of that JComboBox. (It's the "dimension editor" that ensures that the user enters a valid dimension). Do a beta core update to get b6, which has this fix.

Thank you for that! It's been bugging me for years.

And I note, with approval, that one of the long-standing items on my bug list got magically cured somewhere along the line (I haven't been obsessively testing it), to wit, the result of choosing "..." as the image bounds, not entering any values, and then going on your merry way. That used to produce console dumps, skin loading errors, and all manner of ugliness.
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 00:39   in response to: JeffTucker in response to: JeffTucker
Jeff, b7 is out as a core update (along with new texts.properties). I've made the layout of Settings-images less ugly now (more in line with your design, but with clearer pipeline)
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 01:01   in response to: davidekholm in response to: davidekholm
Attachment oddgap.png (25.0 KB)
You're still making a weird distinction between Scaling and Output. To a user, this is a distinction without a difference.

If only originals are being included, there's no scaling, no choice of output format, no quality settings, no sharpening. Those are all relevant only if scaled images are included. At that point, they all kick in. They all affect the nature of the output. That's why I lumped them all in together.

Strange horizontal gap between output format and the quality choices (screenshot). Without that, the Image bounds, Scaling, and Output subpanels could all be the same width, if you still insist on treating scaling as if it were something different from the output format and quality.

I would always show the folder thumbnail bounds, and just disable them if the skin doesn't support them. That keeps that subpanel the same size at all times.
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 01:14   in response to: JeffTucker in response to: JeffTucker
BTW, I was curious about what would happen if I set the JPG Quality to 0%. Console dump, and the results are downright comical.

I'm thinking you might want to set a lower limit on all of the quality settings. Anything less than 50% is probably a bad idea*, but 25% isn't nearly as bad as I would have predicted. But 20% might be a rational lower limit.

In my tinkering, I've started to get a feel for how the AVIF tradeoffs work. You can get away with remarkably low quality settings if you're willing to give it a little more processing time. That's a good exchange - you have to endure the processing time only once, but you're rewarded with much smaller files.

ETA: I've gotten excellent results with AVIF Quality at a mere 30%, but with AVIF Speed at 8. Slow as can be, but great slide image quality. Indistinguishable from a JPG at 75%, but the file is one-third the size.

This also helps lightbox scripts behave smoothly, since the slide image file they're being asked to cough up is so much smaller. Noticeable on old PC's, like my 2019 vintage desktop (it's really time for an update - hell, I can afford it).

* But see my remarks about AVIF.
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 10:30   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
You're still making a weird distinction between Scaling and Output. To a user, this is a distinction without a difference.

If only originals are being included, there's no scaling, no choice of output format, no quality settings, no sharpening. Those are all relevant only if scaled images are included. At that point, they all kick in. They all affect the nature of the output. That's why I lumped them all in together.


Well, thumbnails are always being generated. I just disabled the thumbnails checkbox so people can't deselect thumbnails (but I know the disabling of a checked checkbox feels ambiguous)

Strange horizontal gap between output format and the quality choices (screenshot). Without that, the Image bounds, Scaling, and Output subpanels could all be the same width, if you still insist on treating scaling as if it were something different from the output format and quality.

See b8. I was able to address that extra gap and align the boxes actually. (I tested first only on Mac. That was a mistake. The Windows look&feel scales things differently)

I would always show the folder thumbnail bounds, and just disable them if the skin doesn't support them. That keeps that subpanel the same size at all times.

Yes, perhaps that's better than hiding it...
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 10:36   in response to: JeffTucker in response to: JeffTucker
On quality percent: Yes, I should probably limit the lower setting to a more reasonable value, but when experimenting with image rebuild mechanisms, it's practical to sometimes set a really ugly setting, just so one can easily spot a difference.

On your AVIF experimentation: Love it when you dive into this territory :-). I'm fascinated myself on the ability to achieve both smaller file sizes and better quality by trading that for build time. Makes perfect sense for the "final" build of a jAlbum gallery.

Let's see if you can make sense of the pros and cons of the various encoders and decoders as well. I'm inclined to dump SVT_AV1 as it has stability issues (can crash the app under stress). Now I've labeled it as "Experimental" under Preferences. If we dump SVT_AV1 (which is really made for videos), then we save another 8MB disk space too :-)
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 10:38   in response to: davidekholm in response to: davidekholm
Perhaps I should rename "Scaled images" to "closeups"? With that wording, the naming doesn't imply that if you deselect "closeups", then there is no scaling taking place. After all, thumbnails are scaled images as well.

Image bounds would then also have "Images" renamed to "Closeups"
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 11:10   in response to: davidekholm in response to: davidekholm
The word “closeups” has meaning only to skin developers, and even we rarely use it. Virtually everywhere, they’re called “scaled images” or “slide images.”

In fact, the word “closeup” implies that you’re zooming in on something. “I’m ready for my closeup, Mr. DeMille.” But you’re actually taking a large original and making it smaller.

Stick to “scaled images.” And the way we use that term, it doesn’t include thumbnails. Yes, they’re being processed, and things like the quality settings come into play, but users are usually paying attention only to the slide images.

But it’s all “output,” right? It all lands in the “output directory.”
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 12:22   in response to: JeffTucker in response to: JeffTucker
Yes, basically everything in that tab is about what will eventually be the output. Perhaps I should frame that section "Writing"?

I've updated the beta again. Now disabling irrelevant JSpinner components depending on the output format and variant choices.
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 12:34   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
Yes, basically everything in that tab is about what will eventually be the output. Perhaps I should frame that section "Writing"?

Thinking like a developer again. It's all in the "output directory." There's "input" and there's "output." Everyone gets it. "Writing" is what you do with a pen.

Now disabling irrelevant JSpinner components depending on the output format and variant choices.

Yes, I thought about that - tricky because the variants might include a mix of formats.

Why is the Variants tab green? It should be "danger red," of course. ;)
JeffTucker

Posts: 8,223
Registered: 31-Jan-2006
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 13:10   in response to: JeffTucker in response to: JeffTucker
Closeup:

davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 13:48   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:

Yes, I thought about that - tricky because the variants might include a mix of formats.

Yes, felt hard to handle at first, but then it boiled down to this beautiful code (Java streams):
    boolean isUsingFormat(OutputFormat format) {
        return outputFormat.getSelectedItem() == format
                || thumbVariants.getModel().getVariants().stream().anyMatch(v -> v.getFormat() == format)
                || imageVariants.getModel().getVariants().stream().anyMatch(v -> v.getFormat() == format);
    }


Why is the Variants tab green? It should be "danger red," of course. ;)
;-)
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 30 Dec 25, 14:28   in response to: davidekholm in response to: davidekholm
I've updated the installer archives again (to align with latest core update and texts file)
davidekholm

Posts: 3,922
Registered: 18-Oct-2002
Re: jAlbum 39 beta for testing
Posted: 7 Jan 26, 22:01   in response to: davidekholm in response to: davidekholm
Legend
Forum admins
Helpful Answer
Correct Answer

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