odd mpr:tmp error when iterating images
Posted: 2017-01-10T08:27:02-07:00
I have two (essentially) IDENTICAL scripts. One will run, and one will not. Here is what is looks like:
Literally, the only thing that is different between the two are the file paths. The error I get is:
What the heck is going on?
Code: Select all
#!/bin/bash
convert '/Users/marcleonard/Desktop/test/img001_grid.png' -interpolate Blend -unsharp 0x2 -virtual-pixel Black -set option:distort:viewport 1920x1080-0-0 -write mpr:tmp +delete \
mpr:tmp -distort SRT "0,0 0.6 0 0,-496.79999999999995" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0000.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.59 0 0,-479.52" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0001.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.58 0 0,-462.2399999999999" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0002.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.57 0 0,-444.9599999999999" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0003.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.5599999999999999 0 0,-427.67999999999995" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0004.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.55 0 0,-410.4000000000001" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0005.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.54 0 0,-393.1200000000001" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0006.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.53 0 0,-375.84000000000003" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0007.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.52 0 0,-358.56000000000006" -write '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0008.jpg' +delete \
mpr:tmp -distort SRT "0,0 0.51 0 0,-341.28" '/Users/marcleonard/Desktop/test/01/01/173/temp/animations.animation_4_zoom0009.jpg' \
Code: Select all
convert: missing an image filename ` ' @ error/convert.c/ConvertImageCommand/3262.
line 3: mpr:tmp1: command not found