This queue is for tickets about the Imager CPAN distribution.

Maintainer(s)' notes

Tickets for Imager are now on github at https://github.com/tonycoz/imager

Report information
The Basics
Id:
29879
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
TONYC [...] cpan.org
Requestors:
TONYC [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Important
Broken in:
0.60
Fixed in:
(no value)



Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 656114D803E for <bug-Imager@rt.cpan.org>; Tue, 9 Oct 2007 21:54:09 -0400 (EDT)
Received: (qmail 6324 invoked by alias); 10 Oct 2007 01:54:08 -0000
Received: from smtp.syd.people.net.au (HELO smtp.syd.people.net.au) (218.214.225.98) by la.mx.develooper.com (qpsmtpd/0.28) with SMTP; Tue, 09 Oct 2007 18:54:05 -0700
Received: (qmail 2399 invoked from network); 10 Oct 2007 01:54:02 -0000
Received: from unknown (HELO develop-help.com) (202.154.105.237) by smtp.syd.people.net.au with SMTP; 10 Oct 2007 01:54:02 -0000
Received: from develop-help.com (tony@localhost [127.0.0.1]) by develop-help.com (8.13.8/8.13.8/Debian-3) with ESMTP id l9A1ru2M013766 for <bug-Imager@rt.cpan.org>; Wed, 10 Oct 2007 11:53:56 +1000
Received: (from tony@localhost) by develop-help.com (8.13.8/8.13.8/Submit) id l9A1ru87013765 for bug-Imager@rt.cpan.org; Wed, 10 Oct 2007 11:53:56 +1000
Delivered-To: cpan-bug+imager@diesel.bestpractical.com
User-Agent: Mutt/1.5.13 (2006-08-11)
MIME-Version: 1.0
Subject: combine=>'normal' is broken
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_PASS
Return-Path: <tony@develop-help.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Imager@rt.cpan.org
Content-Disposition: inline
Date: Wed, 10 Oct 2007 11:53:56 +1000
Message-Id: <20071010015356.GA13376@develop-help.com>
content-type: text/plain; charset="utf-8"
To: bug-Imager@rt.cpan.org
From: tonyc@cpan.org
X-RT-Original-Encoding: us-ascii
Content-Length: 815
The following program produces a dark boundary around the drawn figure. #!perl -w use strict; use Imager; use Imager::Fill; my $im = Imager->new(xsize => 100, ysize => 100, channels => 4); my $fillimg = Imager->new(xsize => 100, ysize => 100); $fillimg->box(filled => 1, color => '#FFF0F0'); #my $fill = Imager::Fill->new(image => $fillimg, combine => 'normal'); my $fill = Imager::Fill->new(solid => '#FFF0F0'); $im->polygon(points => [ [ 0, 0 ], [ 80, 80], [ 90, 10 ] ], fill => $fill); $im->write(file => 'test.png'); my $jpeg = Imager->new(xsize => 100, ysize => 100); $jpeg->box(filled => 1, color => 'white'); $jpeg->rubthrough(src => $im); $jpeg->write(file => 'test.jpg'); Note that the problem occurs on both the PNG (composited onto the background by firefox) and JPEG (composited by Imager).
MIME-Version: 1.0
In-Reply-To: <20071010015356.GA13376@develop-help.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <20071010015356.GA13376@develop-help.com>
Message-Id: <rt-3.6.HEAD-26986-1206433275-491.29879-0-0@rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 74
If combine is set to normal for the fill then this works with current svn.
MIME-Version: 1.0
In-Reply-To: <20071010015356.GA13376@develop-help.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <20071010015356.GA13376@develop-help.com>
Message-Id: <rt-3.6.HEAD-31213-1207561326-969.29879-0-0@rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 20
fixed in Imager 0.63


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.