httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] Re: Prevent img smoothing?
Date Thu, 04 Sep 2008 21:08:08 GMT
Mike -- EMAIL IGNORED wrote:
> On Thu, 04 Sep 2008 11:40:09 -0700, Bradley Giesbrecht wrote:
>
>   
>> Give a link to an example.
>>
>>
>>     
> [...]
>
>    http://www.rosemike.net/photo/photo.html
>
> and look on the picture on the left.
>
> Mike.
>   

I assume you are using Firefox 3 when viewing the page. FF3 has a new 
feature for automatically antialiasing images when they are resized.

http://forums.mozillazine.org/viewtopic.php?f=23&t=664257

At this time, you cannot turn it off (from what I can see). This means 
that you would have to use another program to resize the image to 
200x308 before it's passed to the browser. There's nothing with Apache 
itself that can change this.

If you are running on a Linux box, you can use the ImageMagick "convert" 
command to do it on the server and then serve the new file to the user.

convert source.png -scale 200x308 destination.png

Justin Pasher

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message