Search found 59 matches

by jaffamuffin
2013-04-26T07:31:17-07:00
Forum: Users
Topic: jpeg file does not read in microsoft photo viewer
Replies: 10
Views: 24011

Re: jpeg file does not read in microsoft photo viewer

interesting, thanks -- 2 systems with win 7 have failed to open the file. And your one has. Not sure how to tell version of the software either seems to be built in to win7. Seems to be quite a few people on the internet with a similar problem but no real solutions
by jaffamuffin
2013-04-26T05:31:11-07:00
Forum: Users
Topic: jpeg file does not read in microsoft photo viewer
Replies: 10
Views: 24011

jpeg file does not read in microsoft photo viewer

Hi all Have a bit of a strange problem -- http://81.143.7.209/0001.jpg This file appears to be a valid JPEG and can be opened in many programs but not in Microsoft Photo Viewer (win 7) If I just convert this to jpg using imagemagick, it then opens. Identify -verbose does not give much away - does an...
by jaffamuffin
2012-11-14T09:54:12-07:00
Forum: Users
Topic: Deskew image, give me the data
Replies: 1
Views: 5180

Deskew image, give me the data

Hi all I am processing a form which has a very slight skew on it. This form is scanned at 24bpp JPG If I try to deskew the image, it doesn't work, presumably due to the colour/algorithm whatever If I threshold the image to black and white, then deskew it deskews perfectly. However is there a way for...
by jaffamuffin
2010-08-12T08:48:51-07:00
Forum: Users
Topic: batch resize in a folder?
Replies: 13
Views: 184909

Re: batch resize in a folder?

change your comment tag from :: to REM

there are special cases where :: doesn't work (inside a for loop may be one) it's possible windows is interpreting the letter after the : as a drive letter hence the error message.
by jaffamuffin
2010-03-22T09:26:50-07:00
Forum: Users
Topic: Identify only retrieves partial IPTC info - BUG ??
Replies: 5
Views: 12995

Re: Identify only retrieves partial IPTC info - BUG ??

for /f %%i in ('identify -format "p_caption=%%[IPTC:2:05]" test.jpg') do SET %%i Be careful with quotes in quotes - you may want to rewrite that as (with the delims trick as well) for /f "usebackq delims=" %%i in (`identify -format "p_caption=%%[IPTC:2:05]" test.jpg`) ...
by jaffamuffin
2010-03-22T09:22:05-07:00
Forum: Users
Topic: Index problem with identify in DOS FOR loop
Replies: 17
Views: 33777

Re: Index problem with identify in DOS FOR loop

It seems like you've solved your problem there.

You can use SETLOCAL ENABLEDELAYEDEXPANSION at the start of your script to enable the mode you need. Also http://ss64.com/ is invaluable resourse when doing stuff in XP Cmd environment.
by jaffamuffin
2010-03-05T07:46:58-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19798

Re: Can someone explain what the difference is?

Hi I have adjusted the commands and I now beleive it is outputting what I require - great! Except I added +0+0 to the shave / splice commands but I still am getting a 4 page output file? Here is my command: convert %filenameext% ^ -gravity northeast -crop %pagewidth%x%pageheight%+%offset%+%topmark% ...
by jaffamuffin
2010-03-04T07:28:02-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19798

Re: Can someone explain what the difference is?

W:\left>convert --version Version: ImageMagick 6.5.7-5 2009-11-03 Q8 http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC Features: OpenMP My script output this when i processes tif 61 : W:\test>crop_book_left_dir . W:\test\0061.tif Working on 0061.tif spine mark is 2...
by jaffamuffin
2010-03-04T07:06:25-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19798

Re: Can someone explain what the difference is?

After further processing I have realised that the final output of the 'multi' command is actualyl what I want, and the all in one has the problem of the image 'shifting' What appears to be happening is the splice is pushing the image over to the left. I shall post up some examples. But, the all in o...
by jaffamuffin
2010-03-04T04:22:04-07:00
Forum: Users
Topic: Can someone explain what the difference is?
Replies: 8
Views: 19798

Can someone explain what the difference is?

Two set of commands here : one is split into 4 seperate commands, the other is all in one. The separate commands produce an output the is shifted to the right by about 100px, the all in one 'seems' to produce the 'correct' output. What have I missed? By shifted to the right I mean the block of text ...
by jaffamuffin
2010-03-03T03:26:08-07:00
Forum: Users
Topic: Resizing to 100% x 1pixel
Replies: 3
Views: 10025

Re: Resizing to 100% x 1pixel

convert image -resize "100x0%!" result Ahh yes thanks that does work. I actually tried using 0 as a token but kept getting image errors. my command is convert left.tif -resize "100x0%!" +repage -threshold 210 c:\out2.tif I'll output this to text locate the first block of black o...
by jaffamuffin
2010-03-02T10:08:41-07:00
Forum: Users
Topic: Resizing to 100% x 1pixel
Replies: 3
Views: 10025

Resizing to 100% x 1pixel

Hi How can I take a set of images, which will be roughly 2300x3300 pixels and resize this to 2300x1, or in the case of a 2345x3230 sized image, resize this to 2345x1. Essentially I want 100% image width, but 1px height. I can't seem to get IM to do this. The only way I can make it do it is using ! b...
by jaffamuffin
2009-08-18T04:34:01-07:00
Forum: Users
Topic: Breaking out large images from group 4 fax TIFF
Replies: 4
Views: 10280

Re: Breaking out large images from group 4 fax TIFF

I make that about 214 GB uncompressed at 1bpp..... That's quite large. Why would you want to use uncompressed TIF? TIF G4 is a good standard for bi-tonal images. As for manipulating such a beast, I know there are programs which can work on massive images b only loading a small part into memory, but ...
by jaffamuffin
2009-08-17T08:48:03-07:00
Forum: Users
Topic: Read command options from a file
Replies: 13
Views: 17776

Re: Read command options from a file

depending on just how long your command is and how long it might be, could you possibly get by by just renaming the files to 1, 2, 3, 4, 5, 6, 7, 8, etc..? You wouldn't even need the extension as imagemagick should be able to know what it is by reading the file. That could save a lot of characters. ...
by jaffamuffin
2009-08-17T08:21:41-07:00
Forum: Users
Topic: Processing tick boxes on forms. A method.
Replies: 3
Views: 10187

Re: Processing tick boxes on forms. A method.

Nice work! Thanks for sharing it! I am having some trouble figuring out the batch file structure, but I think the labels are missing. Could you add them? (:checkline, :processfile, ...) [edit: looking closer, I found :checkline, but :pocessfile?] Is this all one big file? Do you have some procedure...