![]() ![]() It's biggest performance hit is the startup time and looping it like that can take a very long time. Quote from: StarGeek on April 01, 2021, 12:46:44 AMĭon't loop exiftool. should this be documented? i couldn't for my life get it to work until i put the "" signs. Turns out i gotta put apostrophes to the directory. in CMD i ran the following lineĮxiftool -tagsfromfile %d%f.RAF -ext JPG "F:\Photos\unsorted\folder\raf keep exif test" If anyone thinks i should improve this batch code, please feel free to criticize/contribute!! This made perfect sense, and i got it from a comment off twitter. I feel like i should share it here because I didn't include the "colorspace" at first, making all the conversions very dark. I renamed the exif(-k).exe file to exif.exe andįOR %%G IN (*.RAF) DO exiftool.exe -tagsfromfile %%G -all:all %%~dpnG.jpgīut i keep gettting a "file not found" error, and the EXIF information is not copied over.Ĭan someone point out to me what's wrong with my code?ītw, my batch code for magick from RAW(RAF) to JPG ONįOR %%a in (*.RAF) DO magick %%a -set colorspace RGB -colorspace sRGB -quality 100%% "%%~na".jpg I have converted a batch of RAW (RAF) files to JPG (my magick code below).Īnd I'm sure a lot of people have the same problem - I would like to copy the EXIF data from the RAW (RAF) to JPG. (Btw, i noted in another post to NOT name my batchfile as exiftool.bat because it loops endlessly. i tried deepsearching other posts in this forum but I couldn't find a simple solution. So, 1.4 is rounded to 1 which is too slow while 1.5 is rounded to 2 which is OK.Need help for a batch file for Exiftool in windows. ![]() UPDATE2: points out in the comments below that decimal values are rounded to the nearest integer. Also, have a look at these: convert -dispose none -delay 1.4 newton_%d.png -coalesce output1.4.gifĬonvert -dispose none -delay 1.5 newton_%d.png -coalesce output1.5.gif Try downloading one of the above images and opening it in your favorite image viewer. My image viewer can deal with delays of 0.5 and above. Browsers (at least y firefox and chromium running on Linux) cannot display gifs created with a delay <1.5. ![]() In any case, you should get better speeds if your try the commands posted above. I am posting anyway in case it is a problem specific to my browser. Using a local image viewer ( eom), the 1st image is as slow as the one in the original question and both the others are faster than the wikipedia's. On my Linux system, the minimum delay is 0.5: convert -dispose none -delay 0.4 newton_%d.png -coalesce output0.4.gifĬonvert -dispose none -delay 0.5 newton_%d.png -coalesce output0.5.gifĬonvert -dispose none -delay 1 newton_%d.png -coalesce output1.gifįor some reason the images seem not to be displayed properly in my browser. So why is the expected gif twice as fast as the actual gif? The actual gif has less delay than the expected gif. convert.exe -dispose none -delay 0 newton_%d.png -coalesce output.gif Then I used coalesce to recombine the pngs into one gif. This surprises me, because I specified that each frame should have 0 delay.įirst I created 36 pngs by exploding the gif borrowed from Wikipedia: -caution: command generates 36 pngs On my browser (Firefox 17), the expected gif runs more than twice as fast as the actual gif. This is approximately the output I expect (courtesy of Wikipedia): I want this gif to loop as quickly as possible. ![]() I am using ImageMagick to turn a collection of pngs into a single gif. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |