GD Graphics Library withdrawn 161
Wacko writes "The gd library, which allows on-the-fly creation of GIF files, has been withdrawn due to copyright problems. They say they may release another version in the future, but would either need to remove LZW compression algorithm or charge for the library. " Mmmm...patents & copyright laws, oh my!
Re:GD for JPEG? (Score:1)
Encoding an image with JPEG involves a fairly complex mathematical process, which is relatively CPU intensive. It's not really possible to produce a "lightweight" JPEG compressor. Having said that, with the speed of modern CPUs, it doesn't need to be particularly lightweight, and such a library could now be feasibly produced. However, the sort of images that can be dynamically produced don't tend to lend themselves to JPEG anyway...
Re:PNG all the way! (Score:2)
Also please note that PNG cannot do animations (yet).
Re:LZW & Postscript (Score:1)
Re:too bad - will use it anyway (Score:1)
Seriously, though, I doubt Unisys cares about individual users.
Re:Weirdness (Score:1)
Isn't providing source code basically the same as providing the algorithm? Doesn't one describe the other? Can they prevent people from knowing how LZW works? It should only be an issue when someone chooses to use the compiled source.
But, I will not fault gd here, I have too much riding on their GIF/RLE code...
Re:Use PNG (Score:1)
No, no, no. He should just switch to PNG, and say "If you want to see the little icons, get a better web browser." No browser-checking conditional stuff.
BTW, I don't know about IE, but Netscape Communicator 4.04 (which I'm using at this moment) does not support PNGs, and I figure Netscape 4.x counts as one of the "Big two". If IE supports it, then sites switching to PNG will result in even more pressure on Netscape to update their browser to at least 1995 technology. Heck, Amiga Mosaic 1.0 handled PNG just fine. :-)
Re:AHH! (Score:1)
Three more years of this nonsense (Score:2)
Until then, there's always civil disobedience.
bugzilla, jitterbug use it (Score:1)
--
"The use of COBOL cripples the mind.
Its teaching, therefore, should be
Weirdness (Score:1)
Re:Unisys' LZW compression == Lempel-Ziv coding? (Score:1)
> used in the unix "compress" command?
It's related, anyway. Patent problems are among the reasons that the GNU folks created gzip as a replacement for compress.
> If Unisys failed to defend their
> patent/copyright (does anyone know the facts
> regarding what rights they have to LZW?) for so
> long, wouldn't it have lapsed?
They have a patent on the algorithm, and were essentially licencing the patent for free, not failing to defend it outright. It wasn't until LZW started getting widely used that they decided to yank the rug out from under everyone and start charging money.
> 3. Who do we email at Unisys to complain about
> this?
You don't. This has been going on a long time now, and a lot of people have been complaining. It seems that as long as they get their money, they don't give a shit what happens the rest of the world.
---
Re:PNG all the way! (Score:2)
This is a good thing IMHO. GIF animations are almost as annoying as the dreaded BLINK tag. Just imagine a web without annoying flashing banners assaulting your eyes (at least until the page completely loads and you can hit escape).
Re:Animated PNGs? (Score:1)
Didn't we go through this already? (Score:1)
Pulled? Maybe 1.5 was, but 1.6 is now out. (Score:1)
'nuff said...
uncompressed gif files? (Score:1)
without using LZW compression? I don't know the details of LZW - is it possible to just write the "obligatory" escape codes and output the stream in raw format?
Although the files will grow considerably in size, it'd be better than nothing!
Lord, no... (Score:1)
Re:Preditory licensing (Score:1)
Re:Moderators take note, please bump up! (Score:1)
Compuserve.. (Score:1)
Or maybe we should write a GD library replacement that uses JPG...
/*He who controls Purple controls the Universe. *
Re:I'm not giving up netscape 3, either (Score:2)
The End of GIF? (Score:1)
--
"All that is visible must grow and extend itself into the realm of the invisible."
Re:Use PNG (Score:1)
GIF? Who cares... (Score:1)
Re:Use PNG (Score:1)
If you've got pngs that cause IE to blow up, you've either found some kind of IE bug or are using a feature it doesn't support. Maybe you should tell the IE team so they can fix it.
Use PNG (Score:1)
Re:AHH! (Score:1)
I've got it on at least 5 CD's here in my office.
Hopefully MRTG switches to some other library in the future - and hopefully something without GIF.
In the mean time, screw 'em.
The software you have still works. Enjoy it.
Re:Use PNG (Score:1)
People have been saying this for years. Some web browsers were supporting PNG back in '95 before the spec was even finalized. The problem is that the "big two" browsers don't (or at least they haven't until recently; I might be out of date). For some stupid reason, people keep using the "big two" web browsers, even though they're so functionally challenged.
One way to improve the situation is for web authors to just start using it, regardless of what browsers support it. So many of them are willing to deviate from HTML or put "For best results, use browser X" on their wages, so why not do it for a good reason for a change? Why is Slashdot, of all places, still using GIFs?
Re:Didn't we go through this already? (Score:1)
Patents aren't like copyrights. If it had been just a copyright, then it would be enough to rewrite it independently. But for patents, whether or not you create it independently is completely irellevant.
Use PNG instead! (Score:5)
Like GIF, PNG offers lossless compression: you won't find the ugly square artifacts you get in JPEGs. However, PNG also offers a wider range of bit depths (1-bit through 24-bit), an alpha channel, and gamma information.
(For those who don't know: An alpha channel is a fourth number attached to each pixel, alongside the red, green, and blue values. It tells how transparent that pixel is to be considered. Most browsers and graphics tools don't support alpha yet, but they will. Gamma information helps different computers, with different display characteristics, render an image in the same real-world colors.)
GD is without peer even without GIF encoding (Score:2)
You can see over at the Public 8-Ball [slashdot.org] that I create my queue position messages with GD and then JPEG encode the frame buffer for transmission. I don't worry about the CPU speed, 15 frames/second is easy on the PII-266. You can click the how its done [federated.com] picture and find all the source code plus rantings at Unisys.
Those of you with IE can thank Unisys for making the 8ball unavailable to you. I had realtime animated GIF creation in place for the video, but its too slow without compressing and I don't feel inclined to hire a lawyer and negotiate a license for a license. IE Windows can't handle the mime type for the jpeg movies I use now.
Re:LZW uncompression patented? (Score:1)
Re:Maybe we should just change GD! (Score:1)
Re:What about "ncompress" and gzip? (Score:1)
--
Aaron Gaudio
"The fool finds ignorance all around him.
Re:No LZW in gd1.3, so what's up? (Score:1)
This really is a catastrophe , although maybe positive in the long run --
... BAD Unisys ...
(a) another demonstration of the importance of avoiding patented code / libraries / algorithms;
(b) an incentive to get people moving to PNGs;
(c) everyone has it burnt into their brains : BAD Unisys
Commercial, closed source vs. Open Source (Score:1)
How was GD licensed?
Dodge
Re:too bad - will use it anyway (Score:1)
Re:GIF: Time to go, time to die. (Score:1)
Re:The End of GIF? (Score:1)
1995 statement from Unisys : http://lpf.ai.mit.edu/Patents/Gif/uni sys.html [mit.edu].
? Go figure.
I'm not giving up netscape 3, either (Score:2)
But then, I have no use for graphic, java, and the like, anyway. Just give me the information.
Animation not support in PNG - so it is useless (Score:1)
They claimed they had the perfect GIF replacement, but apparently not.
What were they thinking?
Re:Preditory licensing (Score:1)
I'm no expert on patent law, or any kind of law for that matter!
_________
flashcommerce.com [flashcommerce.com]
Re: My gd patch (Score:1)
Moderators take note, please bump up! (Score:1)
Thanks Frater.
timothy
Re:Use PNG (Score:1)
You're far too kind. (Score:4)
Using them damns your immortal soul, to a hell in which you are required to use all microsoft products, even bob, enhanced with the paper clip. Your descendants are cursed unto the seventh generation, and your daughters will become first prostitutes, and then meter-maids. Your sons, after siring the next generation, will go to switzerland for removal of optional factory equipment and join your daughters when they return. You will become obsessed with Roseanne Barr, and search the net for porn sites featuring her. You are a bad person, and your mother will deny you.
There, that's more like it. I don't bother to block ads. I do bother to block anything that blinks.
GD is without peer even without GIF encoding (Score:1)
Re:GD for JPEG? (Score:1)
Re: Yes, this is what libungif does (Score:1)
Re:Use PNG (Score:1)
IE4 reports:
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
NS4 reports:
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Re:Copyrights offer this protection (Score:1)
Intellectual property reform (Score:3)
A society needs copyrights and patents. In most fields of human endeavor there are tremdous costs in moving from idea to artifact and patent law helps protect the small innovator from being beat to market by the huge wealthy predator. Patent law (the idea) is good.
Copyrights protect a specific formulation of an idea (a written work) from direct copy. It does not protect the idea itself which may be reused in an original way. Copyright law is meant to protect writers and artists (and by extension television producers who really do not qualify as either of the above). The extension of copyright to software is, IMHO, imprefect but useful.
Patents go to hell in the computer field for two reasons:
1) The granting of patents for ideas which are dubious as to their patentability. I'm thinking here of the company that claims to have a patent on all e-commerce because the made a dial-up system that took sales orders some time in the mid 1980's. To me, this is like me opening a little antique shop and filing a patent on retail stores. Patent law actually has a protection against obvious patents or prior art, so this is a problem with the Patent Office not doing its job, not the law itself.
2) Rapid obsolescence. A patent lasts far too long in the field of sotware. Most software ideas are not worth anything after just a few years. (LZW may be the exception that proves the rule!).
My friends, co-workers, and I have gone round and round on patents for software. The concensus seems to be that applying patents to software is, generally, bad. In those few cases where it isn't totally unreasonable (and I think inventing as powerful a form of data compression as LZW could qualify), the term should be much shorter. We kind of thought an 18-month patent would be reasonable. Since patents are meant to prevent a highly-resourced upstart from profiting before a true innovator can get to market and establish him/herself, and since software can be distributed quickly with hardly any resources required, 18 months should allow one to truly profit from a truly original idea and let the rest of us get our hands on it in a reasonable time.
So, fix the existing patent office and create a new software patent.
Oh yeah, just to point out patent law has a "FSF-like" goal on the back end. To get a patent one must put all details of an invention down on paper and publish it (in the patent itself). When the patent expires, anyone can read the patent and do what the inventor did. It encourages the sharing of ideas. It's just that software moves so much faster than manufacturing that these patents become an excessive burden on all of us.
Finally, Boutell himself posted to this thread with the details on why the gd library was pulled. If you are a moderator (and still reading my verbose screed), I encourage you to read his post and consider moderating it up...
Re:Use PNG (Score:1)
And not even all new browsers support PNG. IE theoretically does, but both 4 & 5 explode if you try to feed one to it, even though they are supposed to support it. But when did you last believe a MS spec? Can't confirm that every one of the billions of versions of these can't handle it, but enough that you need to worry about it.
Sure, we should all be using lynx or mozilla, but until I can control the users desktop, that's not much of a solution.
Re:Compuserve.. (and Unisys) (Score:2)
And for the folks concerned about this only affecting people in the United States, these patents are protected under the Berne convention and can be prosecuted in Europe as well.
LZW & Postscript (Score:1)
Currently applicable information as to Unisys licensing policies for products using LZW (GIF,
TIFF-LZW, PostScript, Portable Document Format (PDF), V.42bis, etc.)
PostScript uses LZW? Does this mean Ghostscript and Ghostview are going to be affected?
PNG-Supporting browsers, and GIF animations (Score:1)
IE 4.0+ (kind of)
Opera
Mozilla
W3C
Amaya
Konqueror
GNOME-help
... and there are more, too.
As for lack of animation support, what percentage of GIFs in the sites you folks visit are animated?
Of those, what percentage of them actually contribute to the content of the site?
Of those, what percentage would render the sites useless if they were not animated?
Lack of animation support is a lame reason not to use PNGs, at least in the majority of cases, where you don't need animation.
At worst, you can always use GIFs for those specific times when you do really need animation.
---
Re:PNG all the way! (Score:1)
> (yet).
That is a reason not to use PNG in cases where you do not need animation?
---
Re:Preditory licensing (Score:1)
That wouldn't get you much of anywhere; PNG uses the same compression algorithm as gzip, although it is a little more efficient because it is applied a less general fashion.
---
Re:PNG all the way! (Score:1)
Re:Use PNG (Score:1)
Maybe Rob can add checks to the scripts for Slashdot, and use PNGs for browsers that support them. (Ok, that might be worthless, on second thought.)
Unisys attacks again! (Score:3)
Now that they consider LZW profitable, they continue to make their rounds on enforcing their LZW patent ( Patent #4,558,302) [ibm.com]. But they didn't always consider it profitable enough to actually enforce. They sat silent as CompServe promoted the GIF 87 standard as an open and free graphic file format. Two years later when the open & free format was revised to GIF 89 and GIF 89a, Unisys continued to sit silent. It wasn't until 1993 when GIF had taken on popularity due to it's free nature that Unisys choose to actually take action. If they had taken action back before 1990 instead of 6 years after GIF's original introduction then programmers/users looking for a free file format would not have accepted GIF/LZW and would have looked for an alternative. By remaining blind to the most popular computer image format in BBS history, Unisys ensured an entrenched critical mass of patent infrigement to tax. If Unisys had available to it an even dirtier and non-professional method of making a buck, I'm glad I haven't heard about it.
The League for Programming Freedom has some good information on the GIF Controversy [mit.edu]. And, since there is always two sides to every story, Unisys has written their take [unisys.com] on the issue. This document explains their stand on requiring licensing from EVERYONE including for what they refered to as "so-called 'freeware.'" They also have a special email address [mailto] set aside to answer licensing questions. You may wish to email them to find out more on why they refuse to provide a license which is fair to the "so-called 'freeware'" software developer.
Fortantly, this form of Unisys terror will come to an end. Libungif provides a work-around while resulting in files larger than a xpm or bmp containing the same image. The Unisys action also hopefully will help further promote the use of PNG. Most users of web browsers that don't support PNG have much more to worry about than PNGs showing up as a broken image--the public keys for the SSL Certificate Authorites in non-PNG supporting web browsers have either expired or will expire shortly. Since SSL doesn't cleanly handle expired CA entries, users of non-PNG supporting web browsers may be open to a masqurade attack. And to bring things to an end once and for all, 20 years from the filing date of June 20, 1983, US Patent 4,558,302 [ibm.com] expires. I suggest that Slashdot mark June 20, 2003 on it's calendar for a party!
Re:Preditory licensing (Score:1)
Re:Animated PNGs? (Score:1)
"Flash" is a good animation format which is supported by most modern browsers. The actual Flash file format is also "open sourced". More info on this at: http://www.macromedia.com/software/flash/open/faq
Re: Yes, you don't have to use LZW to make GIFs (Score:1)
Patents, what patents? (Score:1)
There really is no point in jumping through hoops becasue of patents as long as we are talking OpenSource.
OSS is not subject to patentlaws, as every patent violating line of code can be rolled up in a patch or a lib and placed on a server in the free world where software patents are void.
Actually putting up a single server with all the patent violating code would be very helpful as the local judge would quickly get used to booting whiney patent-holders out of court:=)
BTW if anyone starts a patent-violation archive, know this: "Off-site backup is your friend".
Killing animated GIFs on Netscape (Score:1)
perl -pi -e 's:NETSCAPE2:NOTSCAPE2:'
Kills 'em dead. They animate ONCE and then they
stop. Death to lame-ass graphics!
And yes, there are a _few_ good animated GIFs..
just like there are a few useful Java applets.
There are just too many BAD ones out there.
Re:just a min (Score:1)
Re:PNG all the way! (Score:1)
Animated GIFs can be used very effectivley : see here [totl.net] for examples.
Re:Weirdness (Score:5)
There's been a lot of clueless commentary about
copyrights (which are irrelevant).
We recently received a copy of a message from
Unisys to a potential academic GD 1.5 user,
who wanted to enable the LZW_LICENCED option
in GD 1.5. They were informed that, although
they would normally be permitted a free
license for LZW, the use of unauthorized
source code (GD) would expose them to
possible legal action.
We withdrew GD and communicated with Unisys.
We determined that their license terms would
not allow free distribution of source code
for LZW. So we withdrew GD indefinitely until
an all-JPEG-and-PNG version can be created,
which shouldn't take long, with the support
of outside volunteers (that's your cue).
"So why not just go back to run-length-encoded
GIF images in GD?"
Because (a) it's an interesting legal question
whether anything an LZW decoder can decode
is an infringement of the patent or not, and
we don't have a whole lot of dough for legal
fees; and (b) they are big (although the
code for generating them is extremely clever
and I don't mean to criticize the folks at
Hutchison Software Corporation who came up
with the stuff).
"What about decompression?"
All versions of GD contain GIF decompression
support. Some people believe the patent does not
apply to LZW decompression when LZW compression
is not present. Again, this is subject to legal
interpretation, and we are a small company
without a whole lot of dough for legal fees.
"What about your company's internal use of
GD in its products?"
Our products use GD 1.3, on the strength of the
legal arguments above for RLE compression and
for decompression in the absence of compression.
We do this in our own products knowing that
there are a reasonable number of copies out
there for which we can afford to accept legal
responsibility.
For the general public's use of GD, we can't
possibly accept potential liability for untold
zillions of applications.
So, we are working toward a PNG-and-JPEG,
100% open-source version of GD, and we invite
your participation. This will be a version that
does not expose us to legal risk we can't afford,
and which produces better-compressed images
for the end user. I urge everyone following
the controversy to support this option.
Unisys/Patent. (Score:2)
I have talked to some people here at Unisys (where I work) about this. They certainly don't see it as a very big issue at all. There idea is that we invented, we can do with it what we want.
I just want to say that anything here is not representative of company policy. It is just my personal opinion.
Patents on algorithms are just unfair... (Score:1)
I remember seeing original article (by Lempel & Ziv ?) in an IEEE magazine way back. How can it be patented if it was published in a scientific magazine? Isn't it used in just about any compressing algorithm today (winzip, gzip and what not)?
Even RLE is patented. (two separate patents, actually) Algorithm patents have no basis in fairness or reality. It's just a matter of picking the algorithm with the fewest patents, or the algorithm with the patent holders who are least likely to make your life a living hell.
---
2003 (Score:1)
Copyrights offer this protection (Score:1)
This is why Disney sues kids who draw little comic strips featuring their characters, or nurseries that draw the characters on walls. They have to, or some guy can sell unlicensed T-shirts later and claim that Disney had forfeited their copyright.
At least that's my general understanding of it.
Re:I'm not giving up netscape 3, either (Score:1)
GGI is portable to Windows (Score:1)
Actually there's a Win32 port now.
---
Re:Preditory licensing (Score:2)
I have always been told that failing to promptly informing an infringer of a problem will jeopardize any future ability to go after an infringer.
I know that's true of trademarks, but I don't know if it applies to patents.
The problem is, it's expensive to go to court at all these days, whether you're right or wrong. You're not likely to recover court costs even if you win because there is no well defined time frame for abandonment (AFAIK). Even if you could recover the costs, you're out the money until (and if) you get a settlement. The little guy doesn't stand a chance, and big business just swaps patents or figures paying the fees is cheaper than going to court.
It doesn't help that the USPTO likes to dump any real decisions into the court system and simply ASSuMEs that everyone can afford their day in court.
Re:Patents, what patents? (Score:1)
The problem being that, certainly in the UK, the site would still be considered to be being published from their home/business machine, irregardless of where the data was being served from.
Re:GD for JPEG? (Score:1)
Try ImageMagick and PerlMagick. You can create images on the fly and save them to just about *ANY* graphic file format.
www.wizards.dupont.com/magick/ [dupont.com]
I used this stuff to create a web-based coloring book. Have a peek at:
www.dartfirststate.com/color/ [dartfirststate.com]
PNG in the Web means NO browser compatibility... (Score:1)
So it seems that Unisys is trying to enforce it's patent again and the GD library is their (first) victim in this round, which is a shame because f.e. the PHP server side scripting language (http://www.php3.org) uses the GD library to create GIFs on the fly, a feature that we have been using a few times and which has proven itself quite valuable.
see http://www.cdrom.com/pub/png/pngapbr.html for information on PNG browser support.
TlighT
Hrmmm (Score:1)
Re:Compuserve.. (Score:2)
gd without LZW? (Score:1)
Re:Didn't we go through this already? (Score:1)
Perhaps the algorithm they used was too close to the patented stuff.
On a wider note, what happens to Open Source projects if the source accidently gets contaminated with non-OS code? Has this ever happened before?
Maybe we should just change GD! (Score:1)
I use this library all the time with PHP! This is a major bummer!
-AP
Re: Yes, you don't have to use LZW to make GIFs (Score:2)
who is that he's written GIF image tools that
have basic RLE compression, or some other
compression and they're standard GIF image files.
GIF images don't have to use LZW compression.
too bad - will use it anyway (Score:1)
No LZW in gd1.3, so what's up? (Score:3)
latest version was gd1.5 (Score:1)
Re:Preditory licensing (Score:2)
The whole GIF issue IS much older than gd. I was referring to the overall behavior of Unisys.
They pulled their license stunts in the latter half of the '80s. They probably deserved to have their rights stripped at that time. When GIF came out it was: "GIFS are great, everyone use them". Dozens of shareware GIF programs came out without a single word from unisys. Then a few small commercial apps came out, still not a word. Then, nearly all commercial apps supported GIG and suddenly, "That's an infringement on out patent, we demand fees".
Enforcement is still very selective and spotty at best. Apparently based on weighing potential profits and the probability that the latest victim will quietly pay up vs. the big PR black eye if it ever goes to court.
About that patent... (Score:1)
I haven't heard any justification of the patent on these grounds; I don't think UNISYS or anyone has actually had to defend their patent claims, since they haven't actually sued anyone over it. I had thought that UNISYS was failing to do anything about people violation the patent because they knew if they got into a case, the patent wouldn't hold up and the people they'd licensed it to would be able to get their money back.
What about "ncompress" and gzip? (Score:2)
--
Aaron Gaudio
"The fool finds ignorance all around him.
legal vs. ethical; real property analogy (Score:2)
In fact, when it comes to real property, the law already recognizes that if you tolerate trespassing, eventually people acquire an easement to your property. Cases like LZW suggest that this principle should be carried over into IP law.
Re:Use PNG (Score:2)
People still use GIF because it is supported by ALL graphical browsers, and when you are dealing with 2k files, the compression difference doesn't count for much.
Re:Animated PNGs? (Score:2)
PNG all the way! (Score:2)
Geez, if the government ever needed an example of why file-format patenting is bad, GIF is certainly it. I'm so sick of hearing about one thing or another going under because GIF is proprietary. As has been mentioned here, PNG is nice, and (most importantly) free.
Although I still have yet to see any large number of PNG graphics on the net, it does seem to be a better format than GIF, and netscrape and exploder (claim to) support it. It does everything GIF does, but it also allows more than 256 colours, full alpha, and a few other features. Here's the PNG homepage [w3.org].
Re:PNG isn't as common and JPEG isn't the same (Score:2)
Re:PNG all the way! (Score:2)
There have actually been user interface studies done on web sites, and when people are trying to read the content on a web site they will tend to put their hand over flashing banners (I guess they don't know about the esc trick) so they can finish reading the page.
BTW those kinds of banners are doubly annying in that even if you want to read the banner, you have to wait for the rest of the text to appear (which can be annoying even if you aren't impatient
Get yer gd1.3.tar.gz here (Score:2)
-russ
Re:Didn't we go through this already? (Score:2)
Yes the gifs are actually not gifs but something like gif but bloody inefficient.
Yes we went through this already (unless the alternative technology using RLE compression has been withdrawn as well).
Preditory licensing (Score:3)
What is needed is provisions to prevent preditory patent licensing. To define:
Keeping silent about patent voilations until the use of it becomes nearly ubiquitous, then cash in on others work by coming out from under the rock screaming violation.
Had Unisys claimed patent infringement when GIFs were just beginning, I'll bet GIF would use a different compression standard now. (Or GIF would have been replaced.)
Fraunhoffer (sp?) did the same with MP3 IIRC. For a long time their web page said that they had a patent for the purposes of enforcing standards only (I sure wish I still had that in my cache!). Later, after a number of programmers had put a lot of hard work into implementing a 'free' standard in their software, suddenly Fraunhoffer (sp?) crys infringement.
In both cases, I think it's quite clear that the intent was a sort of bait and switch tactic. If they had advertized in the sunday paper, it would have been illegal in many places.