Author Topic: Batch convert CXR  (Read 359 times)

2025-03-28, 08:39:04

zaar

  • Active Users
  • **
  • Posts: 96
    • View Profile
Would it be possible to take an entire folder of CXR files and save them all (and all render elements) as 16-bit TIFF?

I know of CoronaImageCmd.exe and the possibility to create a batch job, but I don't know how to set the specific settings of the output format. Accoring to the documentation CoronaImageCmd.exe --help "will print general help". But for me it doesn't print anything.

There was a user made GUI for the batch editor that I found when searching, but the download link doesn't work for me. Isn't it about time that an official proper batch tool with a GUI is made? Or just extend the functionality of the CIE?

2025-03-28, 09:02:36
Reply #1

Avi

  • Corona Team
  • Active Users
  • ****
  • Posts: 805
    • View Profile
Download this script: https://drive.google.com/file/d/1Ve2t6gx2jtRyWq1q-h9c0pcOh80rwsJy/view
Extract it, you will see a .bat file

Move this .bat file to the folder where your CXR is or move your CXR files to where your .bat file is

Edit the .bat file in notepad and change this line "set outputFormat=png" to "set outputFormat=tiff" this.

Run the .bat file and done.

For more information: https://support.chaos.com/hc/en-us/articles/4528237016721-What-is-the-Corona-Image-Editor
Arpit Pandey | chaos-corona.com
3D Support Specialist - Corona | contact us

2025-03-28, 11:43:52
Reply #2

zaar

  • Active Users
  • **
  • Posts: 96
    • View Profile
Thank you for your quick reply, Avi!

I think undertand that much already, I've aldready downloaded the zip and I was looking at the bat-file yersterday so I've seen "set outputFormat=png". What I don't understand is how I can set 16-bit or if I want alpha or not like in the regular pop-up for CIE.

Backstory is that I render to CXR because I have a LUT on in VFB that I don't want to be burned into my TIFF. And I don't dare render to TIFF directly in case I forget to turn it off.
But it takes ages to 1. delete all the extra render elements CXRs 2. Open each file (6 - 12K images) and then 3. save out a 16-bit TIFF of all the render elements.
BTW, all of this would be avoidable if there was a checkbox on the LUT operator that said "VFB only" or "do not apply to final output". Maybe there's some techincal hurdle that makes this difficult. But I think there are a few of us that would really appreciate this. Sadly I think this is a pro feature that will never ever get any votes or attention.