Search found 22 matches
- 2015-07-08T23:22:20-07:00
- Forum: Users
- Topic: Stitching scanned overlapping images
- Replies: 7
- Views: 6465
Re: Stitching scanned overlapping images
Got Hugin to work pretty well now. Compared to imagemagick it is much easier to learn xD. Next step is pooling the libraries into cygwin and make everything command line based.
- 2015-07-08T03:06:13-07:00
- Forum: Users
- Topic: Stitching scanned overlapping images
- Replies: 7
- Views: 6465
Re: Stitching scanned overlapping images
Just installed. You are right, it is confusing. My initial image looks fish-eyed XD.
- 2015-07-08T02:11:20-07:00
- Forum: Users
- Topic: Stitching scanned overlapping images
- Replies: 7
- Views: 6465
Re: Stitching scanned overlapping images
I have cygwin installed so I can use both bash and dos scripts.
I tried using to Mr. Anthony's overlap script mentioned here:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=25843
but it keeps displaying the error: "unable to open image tmp/.....entropy.miff..."
I was hoping for ...
I tried using to Mr. Anthony's overlap script mentioned here:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=25843
but it keeps displaying the error: "unable to open image tmp/.....entropy.miff..."
I was hoping for ...
- 2015-07-07T02:17:33-07:00
- Forum: Users
- Topic: Stitching scanned overlapping images
- Replies: 7
- Views: 6465
Stitching scanned overlapping images
Hi, I have scanned 4 parts of a large map and wanted to stitch them into a seamless image. All 4 parts have overlapping regions but since they are scanned, they won't overlap 100% (more like 95%). Does imagemagick (6.9.0 - Q16 64bit) support this function?
- 2015-06-28T20:53:05-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
I've rearranged the code below but it says "convert.exe: unable to open image " Blues\%%~na-007-a.jpg". No such file or directory."
Set FILESIZE=1000000
For %%a in (*.jpg) do Set ZERO=Blues\%%~na-007-a.jpg
For %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE% GOTO APPEND1 ELSE GOTO ...
Set FILESIZE=1000000
For %%a in (*.jpg) do Set ZERO=Blues\%%~na-007-a.jpg
For %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE% GOTO APPEND1 ELSE GOTO ...
- 2015-06-28T20:27:59-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
echo is showing %BYTE% as nothing.
I have to rearrange the code to exclude the parenthesis.
Edit: I found the problem. Its the bloody parenthesis ().for %%f in ((NULL)) do set BYTE=%%~zf
echo
I have to rearrange the code to exclude the parenthesis.
Code: Select all
For %%a in (*.jpg) do Set ZERO=Blues\%%~na-007-a.jpg
For %%f in (%ZERO%) do set BYTE=%%~zf- 2015-06-28T19:45:00-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
I modified it and the dos window simply exited without executing the commands. Is there a way to show precisely which step is causing the problem?
Set FILESIZE=1000000
For %%a in (*.jpg) do (
Set ZERO=Blues\%%~na-007-a.jpg
for %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE ...
Set FILESIZE=1000000
For %%a in (*.jpg) do (
Set ZERO=Blues\%%~na-007-a.jpg
for %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE ...
- 2015-06-24T21:55:26-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
Sign..I'm getting this error "...1000000 is unexpected at this time".
Set FILESIZE=1000000
For %%a in (*.jpg) do (
Set ZERO=Blues\%%~na-007-a.jpg
IF EXIST %ZERO% GOTO APPEND1
:APPEND1
for %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE% (
convert Blues\%%~na-007-a.jpg Blues\%%~na-007 ...
Set FILESIZE=1000000
For %%a in (*.jpg) do (
Set ZERO=Blues\%%~na-007-a.jpg
IF EXIST %ZERO% GOTO APPEND1
:APPEND1
for %%f in (%ZERO%) do set BYTE=%%~zf
IF %BYTE% LEQ %FILESIZE% (
convert Blues\%%~na-007-a.jpg Blues\%%~na-007 ...
- 2015-06-23T20:26:20-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
Great but my code below still isn't working. What have I done wrong?
Two conditions:
- %%~na-007-a.jpg exists
- %%~na-007-a.jpg file size is less/equal to 1mb
Set FILESIZE=1000000
Set ZERO=Blues\%%~na-007-a.jpg
Set BYTE=%%~zZERO%
For %%a in (*.jpg) do (
IF EXIST Blues\%%~na-007-a.jpg GOTO ...
Two conditions:
- %%~na-007-a.jpg exists
- %%~na-007-a.jpg file size is less/equal to 1mb
Set FILESIZE=1000000
Set ZERO=Blues\%%~na-007-a.jpg
Set BYTE=%%~zZERO%
For %%a in (*.jpg) do (
IF EXIST Blues\%%~na-007-a.jpg GOTO ...
- 2015-06-23T00:37:42-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
Thank you for the clarifications.
for /F "usebackq" %%B in (`stat --printf=%%s x.jpg`) do set BYTES=%%B
I am uncertain as to what this does. How is it different to below ?
Set Bytes=%%~za
If I use %%a and %%b at the same time, how would I know they both correspond to the same file at the ...
for /F "usebackq" %%B in (`stat --printf=%%s x.jpg`) do set BYTES=%%B
I am uncertain as to what this does. How is it different to below ?
Set Bytes=%%~za
If I use %%a and %%b at the same time, how would I know they both correspond to the same file at the ...
- 2015-06-22T21:33:40-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
Thanks. Where should I put "-debug all" in the script?
I removed "AND "Blues\%%~na-007-a.jpg" LEQ %Filessize%" and the script (without the parenthesis) is now working. I have checked the files in both directories and they are all named and displayed correctly in dos. I think its the parenthesis but ...
I removed "AND "Blues\%%~na-007-a.jpg" LEQ %Filessize%" and the script (without the parenthesis) is now working. I have checked the files in both directories and they are all named and displayed correctly in dos. I think its the parenthesis but ...
- 2015-06-22T19:45:00-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
I know this is a real clumsy way of doing it but its simple enough for me to understand.
%%a = original bunch of files with original filenames
%%~na-007-a.jpg = Post processed %%a with "-007-a" suffix added to the filename inside folder "Blues"
%%~na.jpg = appended files with the original filenames ...
%%a = original bunch of files with original filenames
%%~na-007-a.jpg = Post processed %%a with "-007-a" suffix added to the filename inside folder "Blues"
%%~na.jpg = appended files with the original filenames ...
- 2015-06-22T18:31:01-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
For some reason, thats not working for me. Do I need a version update?
- 2015-06-22T02:38:34-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
Re: batch append not working - DOS
The sad part is it still isn't working. I have reverted to two separate steps to get the desired effect.
A C E G I K M O
B D F H J L N P
For %%a in (*.jpg) do (
convert Blues\%%~na-007-[a-b].jpg -append Done\%%~na001.jpg
convert Blues\%%~na-007-[c-d].jpg -append Done\%%~na002.jpg
convert Blues ...
A C E G I K M O
B D F H J L N P
For %%a in (*.jpg) do (
convert Blues\%%~na-007-[a-b].jpg -append Done\%%~na001.jpg
convert Blues\%%~na-007-[c-d].jpg -append Done\%%~na002.jpg
convert Blues ...
- 2015-06-21T18:41:43-07:00
- Forum: Users
- Topic: batch append not working - DOS
- Replies: 20
- Views: 12495
batch append not working - DOS
Hi, is there something wrong with my code below ? (6.9.0 .Q16.win 7)
for %%a in (*.jpg) do convert ^
( Blues\%%~na-007-a.jpg Blues\%%~na-007-b.jpg +append ) ^
( Blues\%%~na-007-c.jpg Blues\%%~na-007-d.jpg +append ) ^
( Blues\%%~na-007-e.jpg Blues\%%~na-007-f.jpg +append ) ^
( Blues\%%~na-007-g ...
for %%a in (*.jpg) do convert ^
( Blues\%%~na-007-a.jpg Blues\%%~na-007-b.jpg +append ) ^
( Blues\%%~na-007-c.jpg Blues\%%~na-007-d.jpg +append ) ^
( Blues\%%~na-007-e.jpg Blues\%%~na-007-f.jpg +append ) ^
( Blues\%%~na-007-g ...