From owner-freebsd-questions@FreeBSD.ORG Sun Apr 15 21:24:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A8BD16A403 for ; Sun, 15 Apr 2007 21:24:15 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 44A8D13C45E for ; Sun, 15 Apr 2007 21:24:15 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from coolf89ea26645 (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l3FLOD2D074051; Sun, 15 Apr 2007 14:24:13 -0700 (PDT) (envelope-from tedm@toybox.placo.com) Message-ID: <00a701c77fa4$59a26ed0$3c01a8c0@coolf89ea26645> From: "Ted Mittelstaedt" To: "Oliver Fromme" , "Roland Smith" References: <200704151921.l3FJLfB9076505@lurza.secnetix.de> Date: Sun, 15 Apr 2007 14:23:43 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sun, 15 Apr 2007 14:24:14 -0700 (PDT) Cc: freebsd-questions@freebsd.org Subject: Re: Looking for GIF library in the ports collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 21:24:15 -0000 Oliver, Go here: http://www.rime.com.au/gd/ install patches to GD and your ready to roll. Ted PS the gif patent expired in the US a while ago but the community has a "scorched earth" approach to it - my guess is no graphics library author will ever put gif support back in, even when every last patent everywhere has expired, as a warning to those who might try similar stunts in the future. ----- Original Message ----- From: "Oliver Fromme" To: "Roland Smith" Cc: Sent: Sunday, April 15, 2007 12:21 PM Subject: Re: Looking for GIF library in the ports collection > > Roland Smith wrote: > > Oliver Fromme wrote: > > > I've written a program that generates images. Currently > > > it writes them in PPM format, and I would like to add > > > support for GIF. So I've looked at the ports collection > > > for a GIF library and found -- nothing. The only thing > > > that comes close is "libungif", but it doesn't create > > > real compressed GIF files ... > > > > You could use the 'convert' program from the ImageMagick suite. Or use > > its library (libMagick) that you can link into your program. > > Thanks for the suggestion! > > Well, I already considered to fork/exec an external program > to do the job (although I would use ppmtogif from the netpbm > port, which seems a lot less heavy-weight than ImageMagick). > But my program will be used to create a huge number of small > graphics, so I would prefer to avoid the additional overhead > of fork/exec. > > I also noticed that libMagick is 4 MB ... I don't really > want to link that into my 30 KB program just to get GIF > support. > > I've just had a look at sourceforge where libungif is hosted, > noticing that there also is a "giflib" (without "un") from > the same author, and it has the same API and same version > number. Both libungif and giflib seem to be maintained in > parallel, but the latter is missing from the FreeBSD ports > collection. I think I'm giving that one a try. > > Best regards > Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- > chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd > > $ dd if=/dev/urandom of=test.pl count=1 > $ file test.pl > test.pl: perl script text executable > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >