Ticket #984 (new defect)

Opened 8 months ago

Last modified 3 months ago

[ATLAS] Atlas won't take screenshots of the Actor Viewer

Reported by: vts Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Atlas editor Keywords:
Cc:

Description

When you're in the Actor Viewer in Atlas looking at a particular actor, and you want to take a screenshot, Atlas will take a screenshot of the map you're building instead of of the actor you're looking at. Might be nice to fix.

Also, the screenshots are written as .bmp and are huge (90MB). Since PNG is lossless, I don't see any reason why we shouldn't prefer to write PNG instead of BMPs.

Change History

comment:1 Changed 8 months ago by vts

  • Summary changed from Atlas won't take screenshots of the Actor Viewer to [ATLAS] Atlas won't take screenshots of the Actor Viewer

comment:2 in reply to: ↑ description Changed 8 months ago by vts

I should probably clarify -- this is when taking a screenshot using the "Misc hacks" > "Screenshot" menu.

comment:3 in reply to: ↑ description Changed 8 months ago by historic_bruno

Replying to vts:

Also, the screenshots are written as .bmp and are huge (90MB). Since PNG is lossless, I don't see any reason why we shouldn't prefer to write PNG instead of BMPs.

It says in Util.cpp: "BMP is good for quick output at the expense of large files." We use BMP for big (6400x4800) screenshots and PNG for normal resolution. I'm not sure how much that matters in practice :) But Atlas should have two screenshot modes, with the smaller being the default.

comment:4 Changed 6 months ago by Philip

Compressing 90MB of image data as PNG takes about 30 seconds (on my CPU) and saves less than 50% file size, which doesn't seem a good tradeoff.

The plan was that Atlas would offer various types of screenshot - the basic WYSIWYG mode, and higher-resolution screenshots for when you want to publish nice ones on the web, and stupidly-high-resolution screenshots for when you want to print on magazine covers at 300dpi, etc. Never got around to implementing UI to provide that choice, though.

comment:5 Changed 3 months ago by ben

In 11257:

Replaces Atlas "Screenshot" option with normal lower-res version (saves result as PNG).
Adds new "Big screenshot" option (saves result as 6400x4800 BMP). Refs #984.

Note: See TracTickets for help on using tickets.