<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Mikael,<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Right now, if you don't provide the .png suffix, you have to use a <b class="">format</b> value of "png image" rather than just "png". Will probably change that to just "png", but right now your command should be:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>save C:\Users\a\Desktop\k format "png image" supersample 4 transparentBackground true</div><div class=""><br class=""></div><div class=""><div class="">--Eric</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>UCSF Computer Graphics Lab</div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 8, 2020, at 8:01 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Mikael,<br class="">The first one is definitely wrong because you should not include the square brackets in the command. They are shown in usage descriptions to indicate optional arguments, as explained here:<br class=""><br class=""><<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html" class="">http://rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html</a>><br class=""><br class="">Make sure the pathname is correct. Maybe you cannot specify the drive in the pathname (the "C:") ... however, I'm on Mac and can't test this directly, but the other developers would know. You could try specifying pathname without drive to see where it goes. On Mac, this works to put a file on the Desktop under my home directory:<br class=""><br class="">save ~/Desktop/blah.png super 4 transparent true<br class=""><br class="">As in my example, you can just specify format with filename suffix (e.g. "k.png") instead of using the format option, but using the format option like you did should also be OK.<br class=""><br class="">I hope this helps,<br class="">Elaine<br class="">-----<br class="">Elaine C. Meng, Ph.D. <br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Oct 8, 2020, at 12:41 AM, Karjalainen, Mikael <<a href="mailto:mikael.p.karjalainen@jyu.fi" class="">mikael.p.karjalainen@jyu.fi</a>> wrote:<br class=""><br class="">Hi! <br class="">I am trying to get transparent background in png pictures, but it is not working and I get error “Cannot determine format for". Only way to get this is by using command line? I am writing something like:<br class=""><br class="">save C:\Users\a\Desktop\k [ format png ] [ supersample 4 ] [ transparentBackground true ]<br class=""><br class="">or<br class=""><br class="">save C:\Users\a\Desktop\k format png supersample 4 transparentBackground true<br class="">Also, I have tried different variations. <br class="">Regards,<br class="">Mikael<br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>