January Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 22 in printed book and digital formats -- plus a one-year subscription (beginning with 23.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Recent issues

Eat big meals while losing weight!

Check out cool RBD T-Shirts, mugs, and more!

Article Preview


Buy Now

Issue 23.1 ('Photo Batch Processing')
Instant purchase and download via GumRoad!

FEATURE

Image Batcher

Use XojoScript to Batch Process Images

Issue: 23.1 (January/February 2025)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 43,029
Starting Page Number: 25
Article Number: 23104
Resource File(s):

Download Icon project 23104.zip Updated: 2025-01-09 23:32:32

Related Web Link(s):

http://imageplay.sourceforge.net
http://imageplay.sourceforge.net
http://www.xdevmag.com/browse/21.1/21106/

Excerpt of article text...

Batch processing images is nothing new. I often have a bunch of images I want to do something with, whether it's resizing them, converting them to a new file format, or even making some common adjustments.

While one can use tools like Adobe Photoshop or other image editors for this, I've often thought that being able to script such edits would be the ultimate in power. (Before you say it, yes, I know that one can use Photoshop Automations, Apple Shortcuts, and even specific apps like Retrobatch. But isn't rolling your own solutions with Xojo more fun?)

While working on the previous issue's testing of Xojo's new preemptive threading feature, my thoughts crystallized that combining it with XojoScript image processing would make my scriptable image batcher possible. This has birthed this issue's Batch Image Processor.

While it's useful today, be aware that this is version 0.5—it's just the tip of the iceberg of what I'd like to do in the future. I'll get more into that later, and I'd love your feedback on where you'd see this going. But for now, let's get started.

Building the App

The idea of the app is simple and consists of three parts:

...End of Excerpt. Please purchase the magazine to read the full article.