![batch convert nef to jpg gimp batch convert nef to jpg gimp](https://www.321soft.com/image-converter-mac/images/top-left.png)
Let’s look at the first requirement, to be able to run the script without an open image. The script has to be smart enough to not overwrite work in progress, (Xcf files with the same name in the target directory).The script needs to be aware of the type of operating system of the host machine, or more specifically whether the filename separator is a “" or a “/”.The script has to be able to provide a GUI to identify the Source and Target directories, identify all of jpg files in the source directory and convert them.The script needs to be available and run when there is no image open.Requirements that are different than most scripts. This is not a basic scripting tutorial, a basic understanding of writing GIMP scripts is assumed. The script opens all of the Jpeg images in the source directory, and saves them as xcf files in the target directory.
![batch convert nef to jpg gimp batch convert nef to jpg gimp](https://www.widsmob.com/wp-content/uploads/2020/07/batch-convert-nef.jpg)
This tutorial is a scripting example that is intended to illustrate automating part of the editing process. Automating the parts of the editing process that are the same for each image saves time, produces consistent results, and allows you to focus your attention on the part of the image editing process that really needs your attention. You may also want to perform the same operation, like setting the grid spacing as an example, on all of the images that you import as part of the process.
![batch convert nef to jpg gimp batch convert nef to jpg gimp](https://i.ytimg.com/vi/4ImzqPpLwZQ/maxresdefault.jpg)
While it is easy to do, opening a Jpeg file and saving it in the native GIMP *.xcf format is tedious and time consuming.