Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 20676
Status: resolved
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: SHLOMIF [...] cpan.org
Cc:
AdminCc:

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



Subject: Implement PHP's imagefilter() Routines (that are an interface to parts of libgd())
Download (untitled) / with headers
text/plain 635b
The PHP interface to GD contains the imagefilter() function: http://www.phpfreaks.com/phpmanual/page/function.imagefilter.html Now this function is an interface to some existing functions in libgd (possibly relatively new ones). What we (= my company) need is a way to do them in Perl in a hopefully efficient manner, since we're translating some PHP code to Perl. I believe I can implement this as a patch to the "GD" distribution on company time. I should note though that my experience with PerlXS is relatively limited. We would also like to hear if there's any other way we can implement it above the existing Perl interface.
Download (untitled) / with headers
text/plain 898b
On Tue Jul 25 10:11:03 2006, SHLOMIF wrote: Show quoted text
> The PHP interface to GD contains the imagefilter() function: > > http://www.phpfreaks.com/phpmanual/page/function.imagefilter.html > > Now this function is an interface to some existing functions in libgd > (possibly relatively new ones). What we (= my company) need is a way to > do them in Perl in a hopefully efficient manner, since we're translating > some PHP code to Perl. > > I believe I can implement this as a patch to the "GD" distribution on > company time. I should note though that my experience with PerlXS is > relatively limited. We would also like to hear if there's any other way > we can implement it above the existing Perl interface.
Did you do that? AFAIK you are pretty competent in PerlXS lately :) I would take it then. libgd: src/gd_filter.c has a couple of functions, which PHP simplified to their API. -- Reini Urban
Download (untitled) / with headers
text/plain 151b
I've added all the filters in the filter branch I did not use the php API, rather our established naming convention. The filters return TRUE or FALSE.
Download (untitled) / with headers
text/plain 375b
On Sat Apr 22 03:14:27 2017, RURBAN wrote: Show quoted text
> I've added all the filters in the filter branch > > I did not use the php API, rather our established naming convention. > The filters return TRUE or FALSE.
Hi Reini! Thanks for your work. Note that this is a very old bug report and I have since left that workplace, and no longer need that functionality. Feel free to close it.
Implemented all the filters in 2.61
Subject: Re: [rt.cpan.org #20676] Resolved: Implement PHP's imagefilter() Routines (that are an interface to parts of libgd())
Date: Sat, 22 Apr 2017 19:02:06 +0300
To: bug-GD [...] rt.cpan.org
From: Shlomi Fish <shlomif [...] shlomifish.org>
Download (untitled) / with headers
text/plain 297b
On Sat, 22 Apr 2017 11:53:58 -0400 "Reini Urban via RT" <bug-GD@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=20676 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message.
Thanks!


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

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