Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 1986
Status: new
Priority: 80/
Queue: Imager

People
Owner: Nobody in particular
Requestors: etienne.goyer [...] linuxquebec.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.41
Fixed in: (no value)



Subject: Accessing GD's alphaBlending() from Imager
Hi, I think it would be nice to have the possibility of blending color with Imager. In my case, I am plotting graph with Imager::Plot and the line for the last dataset rendered cover the previous one. I would like the color to blend where line cross instead. Apparentely, recent GD have the alphaBlending function which could permit this. I swear I saw something about about accessing the gd object directly in the doc but I can't remember where. If it is possible at all, let me know !
[guest - Fri Jan 24 15:53:29 2003]: Show quoted text
> Hi, > > I think it would be nice to have the possibility of blending color > with Imager. In my case, I am plotting graph with Imager::Plot and > the line for the last dataset rendered cover the previous one. I > would like the color to blend where line cross instead. > Apparentely, recent GD have the alphaBlending function which could > permit this. > > I swear I saw something about about accessing the gd object directly > in the doc but I can't remember where. If it is possible at all, > let me know !
Imager does not use GD in any form. Hence there is no access to an underlying GD object. Tony
[etienne.goyer@linuxquebec.com - Tue Jul 15 14:10:32 2003]: Show quoted text
> Sorry for the mistake. Color blending would still be nice.
You're right. I've chanaged the subject of the ticket to indicate this. It's a big change, but a useful one. The only way I can see to do this right now would be to draw to a temp image and use that as a pattern fill with the appropriate combining mode. Of course, if we enable alpha blending, we should allow all the other combining modes that the fill objects allow ;) Tony