[oak perl] Has anyone used GD before?
Craig McLaughlin
cpm at bitbucket.com
Fri Aug 29 13:03:45 CDT 2003
Sorry for the current delay after my initial prompt response. :)
I could dredge up some examples this weekend; the use of GD is internal
to projects and not "standalone," but I could make up some sample
scripts.
My initial driving reason to start using GD was, surprisingly enough,
font-related. I wanted a quick and easy way to see the same text
represented in a large (200+) number of TrueType fonts. As GD supports
TTF, it was pretty simple to get it to do the job.
I haven't done a great deal of work where photo-quality was an issue,
but I have seen GD used for such things (gallery comes to mind), and
have never noticed quality degredation. YMMV, as image quality is a
subjective thing, I find. :)
The largest barrier / pitfall I had was in placement and alignment of
objects (text, images, etc) within the image. For text I was very happy
to find GD::Text::Align. But other items required calculations of
radians, use of Pi, etc... quite a pain in the head.
--Craig
On Thu, 2003-08-28 at 10:20, Joshua Wait wrote:
>
> Thank you for your quick response.
>
> I did find that information. In many ways, it's
> adequate document for getting the methods I need to do
> the work, but I was looking for more practical
> examples.
>
> I would be interested in hearing more about how you
> used GD. Do you have any examples? Did the rotation or
> other modifications degrade the quality of the image?
> Did you experience any barriers or any pitfalls I
> should watch out for?
>
> --JOSHUA
>
>
> --- Craig McLaughlin <cpm at bitbucket.com> wrote:
> >
> > I've used GD to build charts of varying types and
> > some text-based logos,
> > along with the rotating and scaling functions you
> > mention.
> >
> > Have you checked out the GD docs at search.cpan.org?
> > Look under
> > graphics; all the GD modules are listed there.
> >
> > If you don't find what you need, let me know, I'll
> > try to help.
> >
> > Cheers,
> > --Craig
> >
> >
> > On Thu, 2003-08-28 at 09:41, Joshua Wait wrote:
> > >
> > > I'm looking to do some basic image manipulation
> > for my
> > > web site. Rotate, scale, etc. My ISP only supports
> > GD,
> > > I played around with it a bit, and it looks like
> > GD
> > > will do the job.
> > >
> > > While I've found tons of documentation on
> > > Image::Magick, I've found scant documentation on
> > GD
> > > and not really any examples of "Oh, I used GD in
> > this
> > > creative manner to accomplish x, y, z!"
> > >
> > > Any thoughts?
> > >
> > > --JOSHUA
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > > http://sitebuilder.yahoo.com
> > > _______________________________________________
> > > Oakland mailing list
> > > Oakland at mail.pm.org
> > > http://mail.pm.org/mailman/listinfo/oakland
> > >
> > >
> >
> >
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> Oakland mailing list
> Oakland at mail.pm.org
> http://mail.pm.org/mailman/listinfo/oakland
>
> <!DSPAM:3f4e39f3187442038414371>
More information about the Oakland
mailing list