Search found 27 matches

by pr3sidentspence
2018-12-10T16:24:00-07:00
Forum: Bugs
Topic: Possible bug with tile crop and/or fx:standard_deviation
Replies: 4
Views: 3341

Re: Possible bug with tile crop and/or fx:standard_deviation

FYI, "-alpha off" fixes it for me, too.
by pr3sidentspence
2018-12-10T16:20:11-07:00
Forum: Bugs
Topic: Possible bug with tile crop and/or fx:standard_deviation
Replies: 4
Views: 3341

Re: Possible bug with tile crop and/or fx:standard_deviation

Thanks for that workaround! What's funny is I have one original B2E-007-008-009-back.bmp file that I make three crops from to get three smaller BMPS: B2E007-back.bmp , B2E008-back.bmp , and B2E009-back.bmp . B2E007-back.bmp getting the standard deviations on the pixel rows fails B2E008-back.bmp it's...
by pr3sidentspence
2018-12-10T14:37:01-07:00
Forum: Bugs
Topic: Possible bug with tile crop and/or fx:standard_deviation
Replies: 4
Views: 3341

Re: Possible bug with tile crop and/or fx:standard_deviation

Whoops, sorry, I should have posted this in Bugs.
by pr3sidentspence
2018-12-10T13:18:21-07:00
Forum: Bugs
Topic: Possible bug with tile crop and/or fx:standard_deviation
Replies: 4
Views: 3341

Possible bug with tile crop and/or fx:standard_deviation

Version: ImageMagick 7.0.4-8 Q16 x64 2017-02-13 Windows 10 pro I might have found a bug. I've got a script that makes the following call to magick.exe: magick.exe infile.bmp -crop 1x +repage -format "%[fx:standard_deviation]\n" info: >infile-cols.txt ... to get the standard deviation of each column ...
by pr3sidentspence
2018-12-04T20:50:12-07:00
Forum: Users
Topic: PowerShell and magick arguments
Replies: 1
Views: 2625

Re: PowerShell and magick arguments

Code: Select all

cmd.exe /c "magick.exe $bigFinale"
worked, basically endrunning the problem.
by pr3sidentspence
2018-12-04T20:09:51-07:00
Forum: Users
Topic: PowerShell and magick arguments
Replies: 1
Views: 2625

PowerShell and magick arguments

Version: ImageMagick 7.0.8-14 Q16 x64 2018-10-24 This might be a PowerShell question more than an IM question, but I'm having the most fun time trying to get a single magick command out of Powershell. My code: [string]$bigFinale = ('temp2\{0}.jpg -chop {1}%x0 -gravity east -chop {2}%x0 output\{0}.jp...
by pr3sidentspence
2018-11-30T08:05:53-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

If anyone is interested, my mostly complete powershell script is at https://pr3sidentspence.github.io/ called findDocsInScanAndSeparate.ps1
by pr3sidentspence
2018-11-26T15:46:06-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

Your edit is what I was missing. Thank you very much!
by pr3sidentspence
2018-11-26T11:48:42-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

@snibgo What is it about the command you provided that makes it iterate over all the rows? When I read it, it looks to me like it will just get the top row. Obviously, it doesn't just do that, but what about the command makes it do every row in the resized image?
by pr3sidentspence
2018-11-26T11:33:23-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

@snibgo Oh, I like that.

@muccigrosso The primary reason is that we need to include a bit of the gray background in our published images. Another issue is that some of the cards are color artwork.
by pr3sidentspence
2018-11-25T22:02:53-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

That might be why I had trouble before, too. Those are scratches on the scanner glass. We won't be using that scanner going forward (although, they did make nice guides for the technician :) ). I did a -resize 1x300! and then converted to text, the gray strips are pretty obvious: # ImageMagick pixel...
by pr3sidentspence
2018-11-25T19:10:57-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

Thanks to you both for your advice. Fred, I was looking at your multicrop and multicrop2 before and meant to ask you what the difference between them was. I had tried them both on this a week or two, but I might not have been using it correctly. I will try again though, I understand things a bit bet...
by pr3sidentspence
2018-11-25T14:26:27-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Re: Analyze a line of pixels.

https://1drv.ms/u/s!As3ZytCDCPbLjvl-giXs0-tWJuq2bQ https://1drv.ms/u/s!As3ZytCDCPbLjvl-giXs0-tWJuq2bQ The scratches on the scanner glass won't be present in future scans. The color of the background can and will be present in the postcards themselves, which could cause false positives in my detecti...
by pr3sidentspence
2018-11-25T14:03:58-07:00
Forum: Users
Topic: Analyze a line of pixels.
Replies: 14
Views: 5531

Analyze a line of pixels.

Hi, I'm not sure if IM can do this, but it can do a lot, so I'd thought I'd ask. We're involved in a large historical postcard digitization project. Waiting for the scanner to scan is a significant portion of the workflow so we currently scan three cards at a time. Typically, the three cards will be...