[Gambas-user] Image quality value?

Ru Vuott vuott at ...325...
Thu Jan 24 23:55:07 CET 2013


In fact.

I tried to save a image.jpg with value = 1000 and another with value=100. The dimension of "1000" image was same of "100" image.
And more, when I saved image with value=1000, I received in console this notice:

    QPixmap::save: Quality out of range [-1, 100]

Regards
vuott






--- Gio 24/1/13, Benoît Minisini <gambas at ...1...> ha scritto:

> Da: Benoît Minisini <gambas at ...1...>
> Oggetto: Re: [Gambas-user] Image quality value?
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Giovedì 24 gennaio 2013, 23:40
> Le 23/01/2013 20:34, Jussi Lahtinen a
> écrit :
> > Hi!
> > Documentation mentions quality argument, but what is
> that unit? 0-100..?
> > http://gambasdoc.org/help/comp/gb.qt4/image/save?v3
> >
> > Jussi
> 
> For JPEG images, this is the same quality value as what you
> entered when 
> you save a JPEG in the GIMP for example (100 = no
> compression, 0 = 
> maximum compression, worst quality).
> 
> -- 
> Benoît Minisini
> 
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012,
> HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your
> skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by
> Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list