Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#4925 closed defect (can't reproduce)

Image transparency

Reported by: cmurin@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hi,

I am having a problem saving images on ChimeraX that have a transparent background. I am running ChimeraX-1.2.5. I am using the command “save image.png transparentBackground true”. Images save, but the background is solid. I’ve also tried other variations of this command and different file types (.tiff) and that doesn’t work. Whenever dropping into Photoshop, they have solid backgrounds. I’m running macOS Big Sur on a MacBook Pro (13” M1 2020) and just recently downloaded ChimeraX.

Thank you for any help you can provide,

Daniel

Charles D. Murin, Ph.D.
Staff Scientist
Department of Integrative Structural and
Computational Biology
(858) 784-7504
http://ward.scripps.edu/

10550 North Torrey Pines Road
La Jolla, CA 92037
TRY-21

[signature_1463183833]

Added by email2trac

Attachments (2)

image001.png (264.0 KB ) - added by cmurin@… 4 years ago.
Added by email2trac
image001-1.png (264.0 KB ) - added by cmurin@… 4 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (9)

by cmurin@…, 4 years ago

Attachment: image001.png added

Added by email2trac

comment:1 by pett, 4 years ago

Component: UnassignedInput/Output
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX issueImage transparency

Reported by Charles Daniel Murin

comment:2 by Tom Goddard, 4 years ago

Can you attach an example image saved with "save image.png transparentBackground true"? This works fine for me in ChimeraX 1.2.5 in macOS Big Sur. Maybe it just isn't clear in Photoshop that it is transparent. Just double clicking the image it is shown in Preview with a gray background since it is transparent even though I saved it as a black background.

comment:3 by Tom Goddard, 4 years ago

Resolution: can't reproduce
Status: assignedclosed

No response from reporter.

in reply to:  5 comment:4 by cmurin@…, 4 years ago

Hi,

So the problem randomly resolved itself, but I was able to reproduce by entering and errant command for image transparency. If entered incorrectly, then all subsequent images, even if the command was correct, would not be transparent. The problem seems to resolve if you start a new session. I think it may be some sort of bug?

Daniel

Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Sent: Tuesday, August 3, 2021 11:27:23 PM
Cc: Daniel Murin <cmurin@scripps.edu>; goddard@cgl.ucsf.edu <goddard@cgl.ucsf.edu>
Subject: Re: [ChimeraX] #4925: Image transparency

#4925: Image transparency
--------------------------------------+-------------------------
          Reporter:  cmurin@…         |      Owner:  Tom Goddard
              Type:  defect           |     Status:  closed
          Priority:  normal           |  Milestone:
         Component:  Input/Output     |    Version:
        Resolution:  can't reproduce  |   Keywords:
        Blocked By:                   |   Blocking:
Notify when closed:                   |   Platform:  all
           Project:  ChimeraX         |
--------------------------------------+-------------------------
Changes (by Tom Goddard):

 * status:  assigned => closed
 * resolution:   => can't reproduce


Comment:

 No response from reporter.

--
Ticket URL: <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/4925#comment:3>
ChimeraX <https://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker

comment:5 by Tom Goddard, 4 years ago

Sounds like a bug. But I don't think saving an image remembers anything about failed commands. Could you give me an example of the "errant" save image command that breaks subsequent transparent image saving?

in reply to:  7 comment:6 by cmurin@…, 4 years ago

Hi,

For example if I type the command:

save image.png backgroundTransparent true

I get an error and then even if type it correctly:

save image.png transparentBackground true

the image is still non-transparent.

D

Charles D. Murin, Ph.D.
Staff Scientist
Department of Integrative Structural and
Computational Biology
(858) 784-7504
http://ward.scripps.edu/

10550 North Torrey Pines Road
La Jolla, CA 92037
TRY-21

[signature_911113635]

From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Date: Wednesday, August 4, 2021 at 10:52 AM
To:
Cc: Daniel Murin <cmurin@scripps.edu>, goddard@cgl.ucsf.edu <goddard@cgl.ucsf.edu>
Subject: Re: [ChimeraX] #4925: Image transparency
#4925: Image transparency
--------------------------------------+-------------------------
          Reporter:  cmurin@…         |      Owner:  Tom Goddard
              Type:  defect           |     Status:  closed
          Priority:  normal           |  Milestone:
         Component:  Input/Output     |    Version:
        Resolution:  can't reproduce  |   Keywords:
        Blocked By:                   |   Blocking:
Notify when closed:                   |   Platform:  all
           Project:  ChimeraX         |
--------------------------------------+-------------------------

Comment (by Tom Goddard):

 Sounds like a bug.  But I don't think saving an image remembers anything
 about failed commands.  Could you give me an example of the "errant" save
 image command that breaks subsequent transparent image saving?

--
Ticket URL: <https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/4925#comment:5>
ChimeraX <https://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker

Added by email2trac

by cmurin@…, 4 years ago

Attachment: image001-1.png added

Added by email2trac

comment:7 by Tom Goddard, 4 years ago

A mistyped command should have no effect on saving an transparent image. The command parsing that catches the bad argument has nothing to do with image saving code. I tested your mistyped and then correctly typed commands and the image saved correctly with transparency in ChimeraX 1.2.5 on macOS Big Sur 11.4 on a Mac Mini with Apple M1 cpu.

To debug this further save an image and use ChimeraX menu Help / Report a Bug... and include the saved image as an attachment. This will give me the info about your operating system, graphics driver, ....

Note: See TracTickets for help on using tickets.