Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3121 closed enhancement (fixed)

Better 2D label quality in saved images

Reported by: goddard@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Depiction Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.94 (2020-04-16)
Description
2D labels have poor appearance when saved in high resolution images.

Log:
UCSF ChimeraX version: 0.94.dev202004160103 (2020-04-16)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> 2dlabels text Hello

> save test2.png width 2000




OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro Vega 20 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.

Change History (3)

comment:1 by Tom Goddard, 5 years ago

Component: UnassignedDepiction
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionBetter 2D label quality in saved images
Type: defectenhancement

The same label texture is used when saving an image as when rendering on screen. That texture is chosen to be 1 texture pixel per screen pixel. So an image 3 times larger has texture pixels that are 3 times as large as image pixels. Also no texture size increase is made fro retina displays and the texture size is currently based on logical pixels instead of render pixels, so on retina displays the texture is half the size it should be for best quality.

comment:2 by Tom Goddard, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

2d labels now adjust texture size for image saving and also for retina displays to make 1 texture pixel per rendered pixel.

Arrows should get the same fixes to have good quality in images.

comment:3 by Tom Goddard, 5 years ago

Cc: Elaine Meng added

Also made 2dlabel arrows render with higher quality when saving high resolution images.

Note: See TracTickets for help on using tickets.