Author Topic: How to batch crop?  (Read 4574 times)

Offline silentrunning

  • Newcomer
  • Posts: 30
How to batch crop?
« on: 2015 December 02 05:26:15 »
I'm trying to crop a whole load of images. I want to define the crop via DynamicCrop - as Crop is to painful without a displayed region to work with - and then apply the crop using a file container. I can get various processes to work with the file container but not DynamicCrop even when I save it to the desktop as a process.

Is there a way to use dynamic crop with an image container or to get the defined dynamic area into the Crop function which does seem to work with a container.

Many thanks

Doug

Offline GJL

  • PixInsight Addict
  • ***
  • Posts: 102
Re: How to batch crop?
« Reply #1 on: 2015 December 02 06:15:04 »
Hello Doug,

apply crop, add files to the image container. Open history of the cropped image, drag the crop  icon to the desktop. Then drag the triangle of the image container to the icon. Cropped images will appear in the selected directory.

Gerhard

Offline silentrunning

  • Newcomer
  • Posts: 30
Re: How to batch crop?
« Reply #2 on: 2015 December 02 10:05:48 »
Thanks Gerhard  :)

Worked a treat!

Doug

Offline mikeChapman

  • Newcomer
  • Posts: 1
Re: How to batch crop?
« Reply #3 on: 2016 March 21 23:18:25 »
Can this be scripted?

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: How to batch crop?
« Reply #4 on: 2016 March 22 09:20:40 »
like from a javascript script? while imagecontainer is not scripting per se, it does allow you to a process icon to multiple images in a batch. a process icon can also be a process container, so you can apply multiple processes to a batch of images if need be.

rob

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: How to batch crop?
« Reply #5 on: 2016 April 08 01:50:16 »
Can this be scripted?

Hi Mike!
No need for a script.
There is already the process   "Blink"
where you load all the images, draw a preview over the area you want to stay,
select in the blink window the Images which should be used (orange) and
press the "scissor" button at the lower right of the process window. And Voila -
It creates automatically the cropped files, containing the preview area,  in the directory you select.

Thats the simplest solution.

Gerald

Offline bwana

  • Newcomer
  • Posts: 7
Re: How to batch crop?
« Reply #6 on: 2018 May 13 19:26:55 »
Can this be scripted?

Hi Mike!
No need for a script.
There is already the process   "Blink"
where you load all the images, draw a preview over the area you want to stay,
select in the blink window the Images which should be used (orange) and
press the "scissor" button at the lower right of the process window. And Voila -
It creates automatically the cropped files, containing the preview area,  in the directory you select.

Thats the simplest solution.

Gerald
Fantastic!  Thanks a lot!

bwa