Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2378 connectés 

  FORUM HardWare.fr
  Programmation

  Algorithme de Compression de BMP en GIF

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Algorithme de Compression de BMP en GIF

n°11022
Marcel
Posté le 24-01-2001 à 13:45:52  profilanswer
 

Connaitriez-vous un site qui propose cet algorithme en téléchargement?

mood
Publicité
Posté le 24-01-2001 à 13:45:52  profilanswer
 

n°11027
Lord II
PIB2000
Posté le 24-01-2001 à 14:04:24  profilanswer
 

Le Gif c'est payant comme algorythme et je crois que c'est très cher. En fait ce sont de grosses enflure, ils ont laissé le type de fichier se propager et un jour on doit payer !!!

 

n°11031
gilou2
Posté le 24-01-2001 à 14:26:36  profilanswer
 

Il y a longtemps, j'avais utilisé l'algo de GIF (LZW) pour compressé des données. C'etait dans une encyclopedie sur la programmation des jeux (ça date de 1993). Dedans, il y a un fichier gif.txt où ils expliquent (en anglais) très simplement l'algo sur des exemples et donne l'algo (qui fait dans les 10 lignes)
Cherche pcgpe10.zip. Je l'ai retrouvé ici : ftp://ftp.cdrom.com/.1/garbo/garb [...] cgpe10.zip

 

n°11055
JWhy
je peux plier (héhé)
Posté le 24-01-2001 à 16:06:25  profilanswer
 

Le composant TGifImage de Anders Melander permet de creer des GIFs en utilisant une compression RLE (compatible LZW)... ca peut peut-etre t'aider a pondre un algo sans avoir a payer de licence a Unisys ;)
 
Extrait du fichier d'aide du composant :

Citation :


Description
Specifies the compression method used when saving the GIF.
The TGIFCompression values specifies which compression algorithm to use when saving GIF:

  • gcLZW: Normal LZW compression. This is the compression algorithm normally used by GIFs. It yeilds the best compression ratio, but also requires a LZW license from Unisys.
  • gcRLE: GIF compatible RLE compression. The GIF compatible RLE compression doesn't compress as good as LZW, but since the LZW algorithm is not used, no Unisys license is required. This only applies to the GIF writer. The GIF reader will always use LZW, so a LZW license is required if the application reads GIF files. GIF files saved with the RLE compression algorithm can be read by all GIF readers (such as web browsers).




 
Extrait de la licence :

Citation :


LZW license
 
GIF (and thus TGIFImage) uses an adaption of the LZW compression algorithm for image compression. The LZW algorithm is patented by UNISYS. Unfortunately UNISYS requires royalty payment for all software that uses the LZW algorithm.
 
To avoid the use of the LZW algorithm for writing GIFs, TGIFImage can write GIFs using a LZW compatible RLE compression method. See the TGIFImage.Compression property for more information. There are conflicting opinions on whether a LZW license is required to read GIFs. Some patent lawyers are of the opinion that the LZW patent does not cover LZW decoders, but others disagree. If this matters to you, you should contact your own lawyer.
For information regarding UNISYS' view on the use of LZW in commercial software, please read the License Information on GIF and Other LZW-based Technologies . The UNISYS patent on the LZW algorithm may or may not apply to you depending on the laws of your country. Personally I have less than warm feelings for Unisys and their patent and I don't care if you have a license or not.
 
The LZW patent expires in 2004.

 


 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation

  Algorithme de Compression de BMP en GIF

 

Sujets relatifs
Plus de sujets relatifs à : Algorithme de Compression de BMP en GIF


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR