[Gambas-user] Image quality value?

Jussi Lahtinen jussi.lahtinen at ...626...
Sat Jan 26 00:10:35 CET 2013


> > But it seems that for PNG, the quality doesn't do anything.
>
> I tried that.
> I loaded a gif image and then I saved it twice in PNG format: the first
> image in 10-quality, the second in 100-quality.
> Well, the 10-quality PNG file-image was 10,2 KByte; the 10-quality PNG
> file-image was 46 KByte !
>

You are right, I think I tried 10 versus non-determined, and because of
that there were no difference.
Quality value 100, creates much larger file.




>  > And for some reason I cannot save pics as GIF (unknown
> > format).
>
> About this problem I asked Benoit, and he answered:
> "Actually, gb.image.io relies on the gdk-pixbuf library to save the
> picture. So the supported formats are the one supported by that library."
>
> Well, gdk-pixbuf documentation says:
> "Saves pixbuf to a file in type, which is currently "jpeg", "png", "tiff",
> "ico" or "bmp". "
>

OK, makes sense.
Documentation should be corrected (and quality should be explained).

Jussi



More information about the User mailing list