Starting from an image like this one, how do I resize and transform it into something a label printer can use? That means a black and white bmp about 1/3 of this size.

The best result I have so far are with an online converter but this image became a smudge.

Chemical corrosion warning

I use 2" x 4" autoadhesive labels, and I need to reduce images to 1/2" or smaller.

This is on a PC with Ubuntu.


1 Answer 1


After all, the image needs to be cleaned.

In GIMP you can use the Select By Color tool with a threshold of e.g. 30 and select the background:

select by color

Delete the selection with del key and un-select with Shift-Ctrl-A:

cleaned image

Scale the image to the desired size using a proper interpolation algorithm:


Note that now the drawing is very little:


In order to obtain a black and white image you could apply the Threshold tool (in Colors menu), but you can loose the red border or the detail of the image:

threshold 1 threshold 2

Perhaps is better Desaturate (in Colors menu) the image before to apply the threshold:


Now the image is a little better:

threshold 3

Before exporting the image, you must transform it in a black and white one changing the mode to indexed (Image menu):

indexed mode

Now you can export it to BMP.

Please note that the result of the print may depend on printer settings and printer driver. For certain kinds of printers you can send directly a bigger (and more resolute) image, and they will adapt it to the label format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.