[mapguide-trac] #25: ECW and Mr Sid not printing from DWF Viewer

MapGuide Open Source trac_mapguide at osgeo.org
Sat Apr 14 21:37:06 EDT 2007


#25: ECW and Mr Sid not printing from DWF Viewer
----------------------------+-----------------------------------------------
 Reporter:  waltweltonlair  |         Owner:  waltweltonlair
     Type:  defect          |        Status:  closed        
 Priority:  high            |     Milestone:  1.2           
Component:  Server          |       Version:  1.2.0         
 Severity:  major           |    Resolution:  fixed         
 Keywords:                  |   External_id:  923211        
----------------------------+-----------------------------------------------
Comment (by waltweltonlair):

 Discussion of the problem:

 When creating the printed view the DPI is set to that of the printer,
 which is typically much higher than the screen.  The requested resolution
 is therefore increased.  During normal screen viewing my DPI was 96 and
 the requested raster size was about 384x527 pixels.  When printing the DPI
 was 600 and the requested raster size was about 6814x4759 pixels.  The
 size of the array needed to allocate this raster (32bpp x 6814 x 4759 =
 129711304 bytes) exceeds the maximum allowed value (16777216), and
 therefore the raster is not drawn.

 The fix was simply to ensure that the requested size of the raster doesn't
 exceed the maximum allowed value.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/25#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list