How to get image's info through the starting the app?
Posted: 2019-04-11T01:23:02-07:00
I have a working code:
StartApp(C:\ImageMagick\magick.exe composite -geometry +1358+403 "84114к.png" "841v8_3961_17.jpg" "841v8_3961_17.jpg")
It works like command line:
start C:\ImageMagick\magick.exe composite -geometry +1358+403 "84114к.png" "841v8_3961_17.jpg" "841v8_3961_17.jpg"
But now I have to get an information about image to the info.txt. I am trying to write something like this:
start C:\ImageMagick\magick.exe -format "%wx%h" >d:\info.txt d:\Image.jpg
The file d:\info.txt is overwritten, but there is no data.
Could anybody help me?
P.s. ImageMagick-7.0.7-Q16
StartApp(C:\ImageMagick\magick.exe composite -geometry +1358+403 "84114к.png" "841v8_3961_17.jpg" "841v8_3961_17.jpg")
It works like command line:
start C:\ImageMagick\magick.exe composite -geometry +1358+403 "84114к.png" "841v8_3961_17.jpg" "841v8_3961_17.jpg"
But now I have to get an information about image to the info.txt. I am trying to write something like this:
start C:\ImageMagick\magick.exe -format "%wx%h" >d:\info.txt d:\Image.jpg
The file d:\info.txt is overwritten, but there is no data.
Could anybody help me?
P.s. ImageMagick-7.0.7-Q16