Re: What interpolation type is used in fullscreen mode?
Felix Riemann <[email protected]> Wed, 30 Oct 2019 22:15:33 +0100
| Newsgroups | gmane.comp.gnome.apps.Eog |
|---|---|
| Message-ID | <[email protected]> |
--===============5852830896100393584== Content-Type: multipart/alternative; boundary="=-fAkJB0IWO8UQMcR0C4+y" --=-fAkJB0IWO8UQMcR0C4+y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi! On Tue, 2019-10-22 at 16:26 -0400, Zong Zang via eog-list wrote: > Hi, > Sorry to disturb. > When an image is opened in fullscreen mode, it is resized > automatically. I wonder what interpolation method is used over there. > From > > > > eog-scroll-view.c:1409 interp_type = CAIRO_FILTER_NEAREST > > I guess for zooming the CAIRO_FILTER_NEAREST method is being used. > > Please correct me if I am wrong. For the initial render or while zooming CAIRO_FILTER_NEAREST is used for responsiveness.Once you stop zooming and the corresponding settings are enabled (they are by default) a second pass will redraw the image with CAIRO_FILTER_GOOD shortly afterwards. It makes no difference if you have eog running in fullscreen or windowed mode, btw. Regards, Felix --=-fAkJB0IWO8UQMcR0C4+y Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"><head></head><body style=3D"text-align:left; direction:lt= r;"><div>Hi!</div><div><br></div><div><br></div><div>On Tue, 2019-10-22 at = 16:26 -0400, Zong Zang via eog-list wrote:</div><blockquote type=3D"cite" s= tyle=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">= <div dir=3D"ltr"><p>Hi,</p><p dir=3D"auto">Sorry to disturb. </p><p di= r=3D"auto">When an image is opened in fullscreen mode, it is resized automa= tically. I wonder what interpolation method is used over there. From</p> <blockquote dir=3D"auto" type=3D"cite" style=3D"margin:0 0 0 .8ex; border-l= eft:2px #729fcf solid;padding-left:1ex"> <blockquote type=3D"cite" style=3D"margin:0 0 0 .8ex; border-left:2px #729f= cf solid;padding-left:1ex">eog-scroll-view.c:1409 <code style=3D"">interp_t= ype =3D CAIRO_FILTER_NEAREST</code><br></blockquote> </blockquote> <p dir=3D"auto">I guess for zooming the CAIRO_FILTER_NEAREST method is bein= g used.</p> <p dir=3D"auto">Please correct me if I am wrong. </p></div></blockquot= e><div><br></div><div>For the initial render or while zooming CAIRO_FILTER_= NEAREST is used for responsiveness.</div><div>Once you stop zooming and the= corresponding settings are enabled (they are by default) a second pass wil= l redraw the image with CAIRO_FILTER_GOOD shortly afterwards.</div><div><br= ></div><div>It makes no difference if you have eog running in fullscreen or= windowed mode, btw.</div><div><br></div><div>Regards, </div><div><br></div= ><div>Felix</div> </body></html> --=-fAkJB0IWO8UQMcR0C4+y-- --===============5852830896100393584== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ eog-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/eog-list --===============5852830896100393584==--