Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Imager CPAN distribution.

Maintainer(s)' notes

Tickets for Imager are now on github at

Report information
The Basics
Id: 29876
Status: resolved
Priority: 40/
Queue: Imager

Owner: TONYC [...]
Requestors: TONYC [...]

Bug Information
Severity: Important
Broken in: 0.60
Fixed in: (no value)

Subject: give 4/2 channel images a background color when saving to JPEG
Date: Wed, 10 Oct 2007 11:27:06 +1000
To: bug-Imager [...]
From: tonyc [...]
Download (untitled) / with headers
text/plain 275b
Currently saving a 2 or 4 channel image as a JPEG causes an error. This is more annoying than useful. Instead, if a 2/4 channel image is provided, overlay it over a given background color, either from a tag (copied from an argument in ->write*()) or from a default value.
Fixed in svn
fixed in Imager 0.63

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to