[OpenLayers-Trac] [OpenLayers] #3305: ExternalGraphic can be blur with canvas renderer on gecko

OpenLayers trac-20090302 at openlayers.org
Thu May 19 09:28:17 EDT 2011


#3305: ExternalGraphic can be blur with canvas renderer on gecko
-----------------------------+----------------------------------------------
 Reporter:  aabt             |       Owner:  crschmidt   
     Type:  feature          |      Status:  new         
 Priority:  minor            |   Milestone:  2.12 Release
Component:  Renderer.Canvas  |     Version:  SVN         
 Keywords:                   |       State:  Review      
-----------------------------+----------------------------------------------
 Hi,

 When using Canvas renderer on Gecko (at least FF4), if image coordinates
 is not integer, the image is resampled, and can be blur(see attached
 screenshot, comparing FF4 & chrome).

 I guess the most common use case would be to have a sharpen image, even if
 there's a  ½px gap.

 Attached patch rounds image coordinates, preserving image appearance.

 Patch attached, please review.

 PS: thanks pgira for his help on this.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3305>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list