Re: [links] Excellent graphics in Links

Karel Kulhavy <[email protected]> Wed, 24 Feb 2010 11:21:05 +0100
Newsgroups gmane.comp.web.links.list
Message-ID <25070197.1267006866113.JavaMail.root@viefep14>
Thanks! :)

During downscaling, links simulates what physically happens if you display the image with ideal display device and then photograph it at a different resolution with ideal camera of a different resolution. Links has always done this it since I implemented this in 2001.

The picture is first gamma converted to linear photometric space with 48 bits per pixel.
The it's bilinear scaled. Bilinear scaling happens in the physical case assuming rectangular pixels without gaps and infinitely sharp optics.
Then the image is converted to display gamma, using dithering.

Having the photometrically linear processing in 48 bits per pixel is necessary. 24 bits would produce fringes on gradients.

The advantage of doing it wrong is in higher speed. You leave out two gamma correction steps and replace 16-bit arithmetics with 8-bit.

Karel

---- "E. Rosten" <[email protected]> schrieb:
> 
> I just came across this article (linked to from slashdot):
> 
> http://www.4p8.com/eric.brasseur/gamma.html
> 
> It is about a rather pervasive graphics bug spanning many programs 
> including browsers.
> 
> links renders the graphics prefectly :)
> 
> -Ed
> 
> _______________________________________________
> links-list mailing list
> [email protected]
> http://linuxfromscratch.org/mailman/listinfo/links-list

_______________________________________________
links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list