Patrik Karlström
banner
trixon.se
Patrik Karlström
@trixon.se
Husband, dog owner, surveyor, java developer
I just created my first #collage with the #java based #pixollage. 🍏

$ pixollage-cli --border-color '#333333' --width 1200 --height 900 --out out.png test1

Now it's time to start thinking of the collage format and algorithms.
February 2, 2025 at 8:50 AM
In order to speed up the development I decided do a separate library with a CLI and for that I use #picocli, a simple yet powerful framework for creating #java command line applications. picocli.info
January 31, 2025 at 3:34 PM
Cache management is now in place, thanks to #NetBeans "Places". bits.netbeans.org/dev/javadoc/...
January 25, 2025 at 8:10 AM
Now with most of the plumbing done, including photo import by dialog and drag & drop, lets start doing fun stuff with the photo.

...like building an image cache of thumbnails. 📸
January 25, 2025 at 7:33 AM
The document life cycle in #pixollage is now hopefully finished. 🤞
January 25, 2025 at 7:30 AM
#pixollage now has a kind of 'Preview Canvas' that respects the aspect ratio and border color (background color without pictures).

A collage resides in a #netbeans TopComponent/internal window that is part of the Window System API.
netbeans.apache.org/wiki/main/ne...
January 4, 2025 at 3:58 PM
I just added a properties dialog in #pixollage.

It's based on the #NetBeans Dialogs API & its GUI Builder Matisse.
netbeans.apache.org/wiki/main/ne...
January 3, 2025 at 8:59 PM
Using the #netbeans platform saves me a lot of time. I just started exploring context sensitive menu items (actions) that gets enabled when a collage document is in focus.

It works really well, and it has magic for Save & Save All too.

netbeans.apache.org/wiki/main/ne...
January 2, 2025 at 6:24 PM
Thanks, I just noticed that it works when starting the application from a terminal, but not from the NetBeans IDE.
I'll investigate further.
Once again, thanks.
December 19, 2024 at 7:12 PM
They use nbm-maven-plugin, not sure where it's bound though.
When I try to run the app I get:
Could not resolve dependencies for project...Could not find artifact...

Well, clean install has served me well so far 😜
December 19, 2024 at 6:33 PM