The Definitive Guide to Data Quality
Solved! Go to Solution.
There is also ImageMagick that you can use with commandline, maybe it can help you.
Do I have to put something between the two command?
Yes you have to install it, just go on the website and depending on your OS choose the right installer. Then for your job:
of cours you put the right directory inyour tFileList, and then for you tSystem:
"cd the_path_where_you_have_installed_imagemagick(for me C:\ImageMagick-6.7.3-Q16)" //carefull with "\", depending on the OS where the job is running
"convert "+((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))+" -resize 64x64\! "+((String)globalMap.get("tFileList_1_CURRENT_FILEDIRECTORY"))+"\exact_"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+"."+((String)globalMap.get("tFileList_1_CURRENT_FILEEXTENSION"))
It should create the converted images with the prefix "exact" in your folder. Let me now if it works. ps:I didn't check the convert method of imagmagick, i've used yours