batch

How to batch-convert Mac BMP, JPG, PNG image files, free

Mac batch image conversion FAQ: How can I “batch convert” images from one image format to another on a Mac, such as BMP to JPG, or PNG to JPG?

As I mentioned in my earlier Mac batch image resizing tutorial, the Mac OS X Automator application is my new best friend. Besides letting you easily batch resize images very easily, the Automator also lets you easily batch create thumbnails for images, and also lets you convert images from one image format to another (BMP to JPG, PNG to JPG, etc.).

Here’s a quick look at how to use the Mac Automator to “batch convert” images from one file format to another, including image file formats like BMP, GIF, JPEG, and PNG.

How to speed up JDBC PreparedStatement MySQL batch inserts alvin May 6, 2018 - 7:39pm

If you ever need to batch-insert a lot of records into a MySQL/MariaDB database using the JDBC PreparedStatement (as in preparedStatement.executeBatch()) be sure to change the MySQL URL to use the rewriteBatchedStatements, as shown here:

"jdbc:mysql://localhost:8889/DATABASE?rewriteBatchedStatements=true"

For a recent project I needed to batch-insert about eleven million records into a MySQL database, and the runtime was about 55 minutes. Once I added rewriteBatchedStatements=true to the MySQL URL, the batch-insert time was reduced down to only three minutes. That one little change made all the difference.

Free Mac OS X batch image resizing

Mac batch image resizing FAQ: How can I "batch resize" images (photos) on Mac OS X (for free, preferably)?

A long time ago I wrote about how to batch resize images on Mac OS X from the command line in my How to batch resize images on Mac OS X using ImageMagick. That approach is fine for techies who don't mind cracking open the Mac Terminal application, using the Unix command line to navigate to their folder, and then process their images. But what about regular Mac users, those who don't want to ever see a Mac Terminal window?

Free Mac batch image resizing software alvin July 30, 2010 - 11:34pm

Mac batch image resizing and conversion FAQs: How can I batch resize images or batch convert images on Mac OS X?

I was really pleased lately to discover I already had some free Mac batch image processing software already installed on my Mac computers. It turns out that the Mac Automator program from Apple was created with several "workflows" in mind, including several batch image processing workflows. With the Automator you can batch resize images, batch convert images file types, and batch create image thumbnails.

Free Mac batch thumbnail creation alvin July 14, 2010 - 9:41pm

Mac thumbnail image processing FAQ: How can I create thumbnails images for a batch of original images (or photos) in PNG, JPEG, and other file formats? (Also written as, "How can I batch create thumbnails on a Mac?")

How to run JRuby from a Ruby script on a Windows PC alvin January 27, 2007 - 8:56am

I'm doing some crazy things at the moment, basically calling JRuby from a Ruby script on a Windows 2000 system. I'm doing this because there are a bunch of JRuby scripts that I want to run sequentially, and I also want to check for errors after each run, so what better way to invoke them and look for resulting errors than with Ruby, especially on a Windows system? :)

DOS batch files to compile and run a Java program (and create a jar file)

This isn't the most high-tech way to do things, but I thought I'd share these Windows (DOS) shell scripts that I'm currently using to compile a Java application, create a Jar file to distribute the application, and finally run the application. I ended up creating these scripts because of configuration problems on my Windows PC, but I thought they might be useful samples for others.