Opened 8 years ago

Closed 3 years ago

#1427 closed defect (worksforme)

strange, low res display output behavior

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.0.5
Component: Display Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

By chance I discovered a weird behavior of the display output. Here is how to reproduce it.

  1. Open a raster map to full extent. If you save the display to a graphics file, it will look like the display. See attached file: DEM_fullextents_saved.pnb
  1. Zoom the map to a small area. A saved display will again look like the screen. See attached files: DEM_zoomedarea_screenshot.png and DEM_zoomedin_saved.png.
  1. Set the computational region to match the display and zoom back to the full map extent. The on-screen display will look the same as in (1). But if you save this to a graphics file, the saved image will have the extents of (1), but the resolution of the number of x and y map cells in (2). See attached file: DEM_zoomedout_saved.png.

The constrain resolution to computational settings option is off. The display resolution is supposed to stay constant (i.e., number of x and y pixels in a display window) regardless of the zoom level and computational region settings if the constrain resolution option is off. For the display, this seems to indeed be the case.

But saving the output to a graphic file is somehow getting this mixed up.

I've only seen this in the most recent svn trunk, but have not yet tested in other branches.

Attachments (4)

DEM_fullextents_saved.jpg (177.2 KB) - added by cmbarton 8 years ago.
DEM_zoomedarea_screenshot.jpg (205.5 KB) - added by cmbarton 8 years ago.
DEM_zoomedin_saved.png (8.9 KB) - added by cmbarton 8 years ago.
DEM_zoomedout_saved.png (13.1 KB) - added by cmbarton 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by cmbarton

Attachment: DEM_fullextents_saved.jpg added

Changed 8 years ago by cmbarton

Changed 8 years ago by cmbarton

Attachment: DEM_zoomedin_saved.png added

Changed 8 years ago by cmbarton

Attachment: DEM_zoomedout_saved.png added

comment:1 Changed 3 years ago by martinl

Milestone: 7.0.07.0.5

comment:2 Changed 3 years ago by martinl

Resolution: worksforme
Status: newclosed

No activity last 5 years, closing, free free to reopen if needed.

Note: See TracTickets for help on using tickets.