png

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.

Android: How to reference a drawable image in XML (or Java)

When you need to reference a drawable image from an Android XML file, such as a layout or menu file, use this tag:

android:src="@drawable/myimage"

That assumes that you have a file named myimage.png in your res/drawable directories. As a more complete example, this shows how I reference an image named images_show.png in an Android menu item:

How to make a rounded rectangle in GIMP

I recently needed to make an icon look like an iOS style app icon -- a rounded rectangle with transparent corners -- and to do that I needed to learn how to create a rounded rectangle in Gimp. This tutorial contains a short step-by-step description of how to do this.

Note: I’m writing this tutorial in April, 2015, using Gimp 2.8.

How to create Mac ICNS files

Mac OS X programming FAQ: How can I create a Mac ICNS file for my Mac application?

Lately I've been creating a series of small Mac applications, and as part of that I needed to learn how to make Mac ICNS files from standard image files (PNG, JPG, other). Today I offer a quick tip of my hat to the makers of a Mac application named FastIcns that lets you do just this.

MacOS: How to convert BMP files to JPEG or PNG format (command line)

Mac BMP image FAQ: How can I convert BMP image files to the JPEG format?

If you have just one BMP file you need to convert, or just a few, you can convert BMP images to JPEG using Preview. However, if you have a lot of BMP images, and want to convert them all to JPEG or PNG format, you'll probably want to look at a Mac command-line tool like ImageMagick. (Unfortunately my Mac batch image conversion tutorial using the Mac Automator doesn't work on BMP files.)

MacOS: How to convert BMP images to JPEG, PNG, TIFF, GIF, or PDF

Mac BMP image FAQ: How can I convert a BMP image to a JPEG (JPG) format on a Mac? (Or to a PNG, TIFF, GIF, or PDF format.)

If you have just one BMP image you want to convert, you can do this with the Mac OS X Preview application. Just follow these steps:

A Gimp circle tutorial: How to draw a circle in Gimp

Gimp circle FAQ: How do I draw a circle in Gimp?

I just used Gimp to create several circle images in my iPhone Safari browser privacy and security tutorial, and here's a short tutorial on how I created them. I normally use hollow circle images to highlight something in the original image, I'll demonstrate that here, but I'll also show how to create solid circles in Gimp, which are even easier to create.

Solved problem trying to configure PHP with GD support

Problem

I was just trying to install PHP from source code on a CentOS Linux box, specifically trying to configure PHP with GD support with a configure command like this:

./configure --with-apxs2=/usr/local/apache2/bin/apxs \
            --with-mysql \
            --with-gd

Unfortunately this configure command fails, ending with the following two lines of error output:

MacOS: How to batch-resize images with the ImageMagick mogrify command

Mac batch image resizing FAQ: Is there a built-in Mac OS X command I can use to batch resize images and photos on my Mac OS X  computer?

This article shows a “Mac batch image resize” approach you can use from the Mac Terminal command line, and in the link I share below I also show to how to batch resize images using a Mac GUI tool.