Search found 27 matches

by pr3sidentspence
2018-11-19T09:06:48-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12909

Re: -format "%@" reports a 20 digit long trim width

I'm running my batch on a larger set of images this morning and have at least one other image that causes this error. I will put all that I find in this shared folder one ondrive https://1drv.ms/f/s!As3ZytCDCPbLj5Vvc7xxM4wXHBrVZA .
by pr3sidentspence
2018-11-18T18:53:41-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12909

Re: -format "%@" reports a 20 digit long trim width

Should I report this elsewhere, or is this the spot?
by pr3sidentspence
2018-11-18T17:45:25-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12909

Re: -format "%@" reports a 20 digit long trim width

If I -chop 1, 2, or 3 pixels off the right, it still does it, but if I chop off 4 pixels it goes back to working fine.
by pr3sidentspence
2018-11-18T17:24:03-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12909

Re: -format "%@" reports a 20 digit long trim width

Oh yes, it's significantly different. Sorry about that.

I downloaded from this new link and verified it still happens with this:
https://1drv.ms/u/s!As3ZytCDCPbLj5Vuu8VhCI_JXEwOdw
by pr3sidentspence
2018-11-18T16:53:36-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 12909

-format "%@" reports a 20 digit long trim width

Windows: Edition: Windows 10 Home Version 1809 OS build: 17763.124 IM: Version: ImageMagick 7.0.8-14 Q16 x64 2018-10-24 Image: https://i.imgur.com/TccL95U.jpg Fuzz values from 57% to 63% in -format "%@" info: all output the same 20 digit number for width. The image is only 4960 pixels wide...
by pr3sidentspence
2018-11-13T15:56:08-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

Hmm... it seems a large number of the later replies were lost somehow. Regardless, here is my somewhat-final batch file that takes large images (BMP encoded in the batch file, but easy to change) that ImageMagick failed to deskew for me and: makes a smaller working copy figures out how much the copy...
by pr3sidentspence
2018-11-01T10:53:42-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

I think I found my answer:

Code: Select all

convert input.jpg -background "gray(55)" -deskew 40% -print '%[deskew:angle]\n' null:
by pr3sidentspence
2018-11-01T10:04:13-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

<5 degrees would be fine, I think my problem is the size of the original image. If I resize it down it works. Is there a way to get deskew to output a degrees rotation needed like your unrotate does if you don't specify out outfile? I tried not specifying one using deskew but it threw an error. That...
by pr3sidentspence
2018-11-01T08:03:40-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

Oh ho! I had put a reduced resolution (25%) version of the scan on imgur just so it wouldn't be ridiculously large. That's not what I was testing on. When I test on the one I put on imgur it works. Is there a max size that deskew will work with? EDIT: And if that's the case, is there a way to get de...
by pr3sidentspence
2018-11-01T07:49:02-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

Hmm. I am starting to think it really is just me.

On ubuntu with ImageMagick 6.9.7-4 Q16 neither of the commands you provided produced a change. Neither did ImageMagick 7.0.4-8 Q16 on Windows 10.
by pr3sidentspence
2018-11-01T06:55:29-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Re: Deskew not working, is it me?

Thank you! I'll give that a try as soon as I reach the office.
by pr3sidentspence
2018-10-31T14:16:00-07:00
Forum: Users
Topic: Deskew not working, is it me?
Replies: 8
Views: 7870

Deskew not working, is it me?

I'm trying to deskew scans of vintage postcards on a black cardstock background (so not pure black) and ImageMagick's deskew is not working for me at any fuzziness level. I've also tried Fred's unrotate script with similar non-results. Sometimes both deskew and unrotate think the image needs zero ro...