Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)

Liste des GroupesRevenir à cl python 
Sujet : Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)
De : pieter-l (at) *nospam* vanoostrum.org (Pieter van Oostrum)
Groupes : comp.lang.python
Date : 05. Jul 2024, 13:54:28
Autres entêtes
Message-ID : <m24j94vytn.fsf@cochabamba-1.kpn>
References : 1 2 3
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin)
Greg Ewing <greg.ewing@canterbury.ac.nz> writes:

On 3/07/24 11:22 pm, Pieter van Oostrum wrote:
In general a 'PNG' image has better quality than 'GIF'. In a 'PNG'
image all the pixels that the program generated are still present,
exactly as they were generated. In a 'GIF' image, however, pixels may
have been altered in order to accommodate a smaller file size.
>
I think you're thinking of JPEG. PNG and GIF both use lossless
compression, however GIF only supports 8-bit colour and 1-bit
transparency. For images with no more than 256 distinct colours, PNG and
GIF will probably give identical results.

Sorry, you are right. I never use GIF anymore, so indeed I read JPG instead.
--
Pieter van Oostrum <pieter@vanoostrum.org>
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]

Date Sujet#  Auteur
2 Jul 24 * in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)6HenHanna
3 Jul 24 `* Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)5Pieter van Oostrum
3 Jul 24  `* Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)4Greg Ewing
3 Jul 24   +* Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)2HenHanna
4 Jul 24   i`- Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)1Greg Ewing
5 Jul 24   `- Re: in a program like this, it makes NO difference , whether i save as PNG or GIF ? (size?)1Pieter van Oostrum

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal