batch processing - possibilty to save after every conversion step
Posted: Sun Aug 18, 2019 4:36 pm
Hi,
to speed things up and avoid unnecessary drive or network traffic it would be good to be able to have a save option after every conversion step during batch processing. That would really speed up the creation of multi size thumbnails.
for example:
-the original images (0001.jpg) is only read once at the beginning
-the image is manipulated, lets say scaled to 1500x...
-the image is saved as 0001-la.jpg
-the image is now manipulated further, lets say scaled to 750x...
-the image is saved as 0001-me.jpg
-the image is now manipulated further, lets say scaled to 320x...
-the image is saved as 0001-th.jpg
-the image is now manipulated further, lets say scaled to 120x120
-the image is saved as 0001-sq.jpg
That way the images only needs to be loaded once and afterwards only the much smaller thumbnails are written back to the drive.
The xbs would look something like that:
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name="combined">
<Resize mode="1" width="1500" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-xl" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="1125" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-la" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="750" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-me" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="315" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-th" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="2" width="120" height="0" unit="0" ratio="true" orientation="false" enlarge="0" resample="7" gamma_correct="false"/>
<Canvas_resize width="120" height="120" unit="0" relative="false" ratio="true" orientation="false" color="#ffffff" alpha="255" position="4"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-sq" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
</XnView_script>
to speed things up and avoid unnecessary drive or network traffic it would be good to be able to have a save option after every conversion step during batch processing. That would really speed up the creation of multi size thumbnails.
for example:
-the original images (0001.jpg) is only read once at the beginning
-the image is manipulated, lets say scaled to 1500x...
-the image is saved as 0001-la.jpg
-the image is now manipulated further, lets say scaled to 750x...
-the image is saved as 0001-me.jpg
-the image is now manipulated further, lets say scaled to 320x...
-the image is saved as 0001-th.jpg
-the image is now manipulated further, lets say scaled to 120x120
-the image is saved as 0001-sq.jpg
That way the images only needs to be loaded once and afterwards only the much smaller thumbnails are written back to the drive.
The xbs would look something like that:
<?xml version="1.0" encoding="UTF-8"?><XnView_script version="1.0" name="combined">
<Resize mode="1" width="1500" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-xl" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="1125" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-la" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="750" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-me" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="1" width="315" height="0" unit="0" ratio="true" orientation="true" enlarge="0" resample="7" gamma_correct="false"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-th" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
<Resize mode="2" width="120" height="0" unit="0" ratio="true" orientation="false" enlarge="0" resample="7" gamma_correct="false"/>
<Canvas_resize width="120" height="120" unit="0" relative="false" ratio="true" orientation="false" color="#ffffff" alpha="255" position="4"/>
<Output folder="/i/galleries/MTB" filename="{Filename}-sq" case="0" startIndex="1" format="JPEG">
<Options overwrite="2" orgDate="true" keepMeta="true" keepICC="false" keepFolder="true" keepParentFolder="true" keepExtension="true" delOrg="false" multipage="false" allPages="false" openExplorer="false" openBrowser="false" clearItems="false"/>
<JPEG quality="80" progressive="false" optimizeHuffman="false" rebuildThumb="true" orgQuality="false" DCTMethod="2" subSampling="2" smoothFactor="0"/>
</Output>
</XnView_script>