Author Topic: BatchFormatConversion.js  (Read 4376 times)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
BatchFormatConversion.js
« on: 2010 May 19 01:34:51 »
Juan, please add:
Code: [Select]
w[j].setSampleFormat(BitPerSample, floatSample);before:
Code: [Select]
w[j].saveAs( outputFilePath, false, false, false, false );
And of course populate it in Dialog.

Often I want to change BitPerSamples in many pictures. For example: 64Float.fit > 16UInt.fit or 16UInt.cr2 > 32Float.fit

Best regards,
Nikolay.

PS of course I can do it via ImageContainer > SampleFormatConversion, so my wish is not important.
« Last Edit: 2010 May 19 04:13:05 by NKV »

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: BatchFormatConversion.js
« Reply #1 on: 2010 May 19 05:12:01 »
Good idea. See this announcement  ;)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: BatchFormatConversion.js
« Reply #2 on: 2010 May 19 05:24:14 »
Good idea. See this announcement  ;)
Juan, it's fantastic! You are so fast! :)