Search found 59 matches
Re: deskew
got it. good point thanks.
Re: deskew
another way to look at it : file as in first post is 300_01.tif This code supposedly takes a 1000x1000 section from the top middle and bottom of the supplied image and prints the detected skew angle. (test.bat) FOR /F %%B IN ('convert %1 -contrast-stretch 10%%x10%% -gravity center -crop 1000x1000+0 ...
Re: deskew
i'm using version Version: ImageMagick 7.0.7-22 Q8 x64 2018-01-22 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib cairo ...
deskew
Hi all I'm trying to deskew scanned images but weird things are happening. https://gofile.io/?c=ZgXVTY here is my command FOR /F %%B IN ('convert %1 -gravity center -crop 1000x1000+0+0 -deskew 40%% -format %%[deskew:angle] info:') DO ( SET angle=%%B echo angle %%B ) convert %1 -rotate "%angle ...
- 2016-02-11T07:28:42-07:00
- Forum: Users
- Topic: Mogrify uncompressed tiff to compressed Lzw Tiff - Issues
- Replies: 7
- Views: 13265
Re: Mogrify uncompressed tiff to compressed Lzw Tiff - Issues
i tested with ImageMagick 6.9.2-5 Q8 x86 2015-10-31 on windows 8.1 mogrify and convert both worked for me. Anyone else ?
- 2016-02-11T06:42:30-07:00
- Forum: Users
- Topic: Mogrify uncompressed tiff to compressed Lzw Tiff - Issues
- Replies: 7
- Views: 13265
Re: Mogrify uncompressed tiff to compressed Lzw Tiff - Issues
post the actual image files
- 2015-10-19T07:35:49-07:00
- Forum: Users
- Topic: read image once, but save 3 versions
- Replies: 4
- Views: 8768
Re: read image once, but save 3 versions
Thanks. That is exactly what was needed.
- 2015-10-15T08:54:11-07:00
- Forum: Users
- Topic: read image once, but save 3 versions
- Replies: 4
- Views: 8768
read image once, but save 3 versions
Hi All I come accross this problem in various places, so hopefully I can get an answer on how to do this that I can apply in various ways. This particular problem, I'm converting some images to binary, but sometimes I need to go back and redo one if it didn't convert well enough using a different ...
- 2015-05-19T06:58:47-07:00
- Forum: Users
- Topic: TIF to PNG to TIF is not the same input as output
- Replies: 6
- Views: 11296
Re: TIF to PNG to TIF is not the same input as output
https://www.dropbox.com/sh/p0gjpa7k5x7twzl/AACziip0nPQe_RS1BOu1GdyZa?dl=0 Hi Guys Thanks for your replies. See the above dropbox link for the files. Interesting about the RGB data, I haven't yet had a chance to test any further yet, but the files are there if you want to have a look. The idea was to ...
- 2015-05-04T03:22:47-07:00
- Forum: Users
- Topic: TIF to PNG to TIF is not the same input as output
- Replies: 6
- Views: 11296
TIF to PNG to TIF is not the same input as output
Hi All What I expect to be able to do is store an uncompressed TIF as a losslessly compressed PNG, and be able to convert the PNG back to TIF and have the same image as before. But it doesn't seem to be the case. Can anyone explain what is happening and how I may achieve my goal ? Thanks W:\png_tif ...
- 2015-04-16T09:42:31-07:00
- Forum: Users
- Topic: distort SRT internal crop example not working for me
- Replies: 9
- Views: 16877
Re: distort SRT internal crop example not working for me
Hi Fred I haven't you tried your innercrop script. I will test it later on some more challenging images. I'm intrigued with the sunset picture example - can the sensitivity of the the allowance be tolerated ? I'm thinking for a scanned page that maybe has a v rip in the page, I would want to include ...
- 2015-04-16T08:08:55-07:00
- Forum: Users
- Topic: distort SRT internal crop example not working for me
- Replies: 9
- Views: 16877
Re: distort SRT internal crop example not working for me
Works nicely indeed. Thanks
- 2015-04-16T05:51:06-07:00
- Forum: Users
- Topic: distort SRT internal crop example not working for me
- Replies: 9
- Views: 16877
Re: distort SRT internal crop example not working for me
OK , so i'm on the right track then. Would be good to clarify this somewhere as I had been puzzling this for a day or 2. But it would be even better if IM could have a built in 'internal crop' command or something. (which i imagine would be a shortcut to this kind of thing anyway, like rotate is)
- 2015-04-16T05:10:43-07:00
- Forum: Users
- Topic: distort SRT internal crop example not working for me
- Replies: 9
- Views: 16877
Re: distort SRT internal crop example not working for me
Hmmm - I swapped sin and cos about so from convert %1 -format "%%[fx:aa=%angle%*pi/180; min(w,h)/(w*abs(sin(aa))+h*abs(cos(aa)))]" info: to convert %1 -format "%%[fx:aa=%angle%*pi/180; min(w,h)/(w*abs(cos(aa))+h*abs(sin(aa)))]" info: and now I think it works! I wonder if this was caused by the ...
- 2015-04-16T04:56:47-07:00
- Forum: Users
- Topic: distort SRT internal crop example not working for me
- Replies: 9
- Views: 16877
Re: distort SRT internal crop example not working for me
Yes, I got that angle too, i mistyped in my post, now edited. I copied pasted the script from the info page above into my linux bash terminal and substituted the names of my file as below. Same result on my linux box, so ... perhaps the code on the page is wrong ? #!/bin/bash angle=0.783292 ratio ...