[Gambas-user] Picture.ToString() ?

Bruce Steers bsteers4 at gmail.com
Thu Jan 4 19:52:00 CET 2024


On Thu, 4 Jan 2024 at 16:37, Benoît Minisini <
benoit.minisini at gambas-basic.org> wrote:

> Le 04/01/2024 à 16:46, Benoît Minisini a écrit :
> > Le 04/01/2024 à 16:40, Bruce Steers a écrit :
> >>
> >> Ok cool,
> >> Does that technically mean png file sizes differ but quality remains
> >> the same or does "compression" effect quality too?
> >> when checking out the qt png saved files i could not really visibly
> >> see any difference in 2 files where one was twice the file size as the
> >> other.
> >>
> >> (just so i know when i update the wiki info)
> >> Thank you Benoit :)
> >>
> >> Respects
> >> BruceS
> >>
> >
> > PNG is a lossless format.
> >
> > Anyway, you will have different resulting sizes for the same image and
> > the same compression level between Qt and GTK+, because the saved image
> > metadata is not exactly the same.
> >
> > The solution is what I implemented in the IDE: using 'pngquant' once the
> > image is saved to get the smallest possible png file.
> >
> > Regards,
> >
>
> It's done.
>
> --
> Benoît Minisini.
>

Awesome stuff Benoit, thank you :)

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240104/fb5ac90a/attachment.htm>


More information about the User mailing list