Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#9654 closed defect (fixed)

Allow saving movie frames with transparent background

Reported by: christian.schafmeister@… Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Input/Output Version:
Keywords: Cc: Elaine Meng
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Begin forwarded message:

From: Christian Schafmeister <>
Subject: Re: [External] Re: transparent movie background
Date: August 28, 2023 at 10:32:29 AM PDT
To: Tom Goddard, Eric Pettersen
Cc: Elaine Meng

Yes, I request a transparent background for PNG images saved by movie recording.
Like what the save <filename> format PNG transparentBackground true command does.
I figure it’s not too much of a stretch for you because save and PNG supports this.

I am using the PNG images for a web page (see: https://www.thirdlawtx.com)
That is preliminary and I will add attribution.
I want to use rock and save a movie made up of a bunch of PNG files and then use the scrolling animation that you see on that web page. Transparent backgrounds will make it easier to change the background color of the website without having to go back to chimera/X and re-render everything each time we change the background.

Chimera/X works great! Thanks!

Change History (2)

comment:1 by Tom Goddard, 2 years ago

Cc: Elaine Meng added
Resolution: fixed
Status: assignedclosed

Added movie record transparentBackground option.

This feature is misleading since none of the movie formats can handle transparent background. When the option is enabled it will warn to the log that it is only for acquiring image frames with transparent background. Also it will give an error if the user does not also request PNG format since jpeg does not handle transparency and our ppm save also does not support it.

Would have been better to not add this and explain how the frames can easily be saved with the current perframe command. But since I already added it let's keep it.

comment:2 by Eric Pettersen, 2 years ago

Component: UnassignedInput/Output
Note: See TracTickets for help on using tickets.