Search found 23 matches

by toshog
2012-07-13T14:53:18-07:00
Forum: Users
Topic: -compose modes
Replies: 2
Views: 5249

-compose modes

hello... in a script called textcleaner located at http://www.fmwconcepts.com/imagemagick/textcleaner/ i found a operator for -compose (copy_opacity) which is not specified here http://www.imagemagick.org/script/command-line-options.php#compose. what "type of image composition" does copy_o...
by toshog
2010-06-03T23:23:40-07:00
Forum: Users
Topic: syntax help
Replies: 4
Views: 10443

Re: syntax help

understood. thank you.
by toshog
2010-06-03T20:11:14-07:00
Forum: Users
Topic: syntax help
Replies: 4
Views: 10443

Re: syntax help

the -format tells it to do a computation and then info: tells it to return the calculation (information) to the terminal. thanks. so if i understand correctly this whole line is used to return the result of ($amount*pi/$w1)? and the xc: is just a "wild card" for an image so convert doesn'...
by toshog
2010-06-03T19:33:47-07:00
Forum: Users
Topic: syntax help
Replies: 4
Views: 10443

syntax help

hi all... i'm trying to find any documentation on how to read the following line: convert xc: -format "%[fx:$amount*pi/$w1]" info: basically i'd like someone to explain the "xc:" part. i'm assuming that it stands for execute... is it? what about the rest? i was googling to find s...
by toshog
2010-04-26T15:34:39-07:00
Forum: Users
Topic: border thickness
Replies: 2
Views: 6845

Re: border thickness

fmw42 wrote:You might also want to see my scripts, unrotate, autotrim, multicrop and separate at the link below. They are unix bash scripts.
thanks. appreciated...
by toshog
2010-04-26T12:45:16-07:00
Forum: Users
Topic: border thickness
Replies: 2
Views: 6845

border thickness

hi all... what is the best way to find out what the border thickness(es) of an image is (are) of scanned documents so i can either shave them or crop them. and also is there a way to "deskew" and image by computing the skew angle like here (Fig.3): http://www.leptonica.org/line-removal.htm...
by toshog
2010-04-15T15:17:53-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20520

Re: delete a line or two..

compare -metric RMSE moo.jpg search.png found.png let me see if i understand this correctly. i need to create a search.png that has the same lines as they appear in the image? and then compare the two images to basically "cancel" out the lines in the main image? if this is true i can try ...
by toshog
2010-04-15T11:32:23-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20520

Re: delete a line or two..

thanks snibgo.... date and time a kinda in the same place but not really. sometimes not too close. actually the lines are thinner then the letters. i'll play with the compare you are mentioning although it seems to me like a long shot... is there a way for imagemagick to detect anything else that is...
by toshog
2010-04-15T10:34:51-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20520

Re: delete a line or two..

snibgo wrote:Finding those coordinates in the general case wouldn't be trivial.
aware. thanks. any idea of how would that work?
by toshog
2010-04-14T15:41:35-07:00
Forum: Users
Topic: delete a line or two..
Replies: 9
Views: 20520

delete a line or two..

hi all...

can somebody briefly explain what is the fastest way to delete the lines around the date and time in this image using the command line:
Image

thanks...
by toshog
2010-03-04T17:52:38-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80085

Re: repairing jpegs

i see. understood. again, thank you for the help....
by toshog
2010-03-04T17:00:37-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80085

Re: repairing jpegs

snibgo wrote: it seems imgfoo contains 21 spurious bytes at the start. These can be stripped by a simple C program (or perhaps some shell tool).
one question. how did you know that they are 21? can you explain please...
by toshog
2010-03-04T16:56:57-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80085

Re: repairing jpegs

snibgo wrote:imgfoofixed.jpg is now readable by IM and Gimp.
snibgo... i love you man. thanks.... i had a similar script. i just didn't know how many chars to jump... thanks. appreciated.
by toshog
2010-03-03T15:09:21-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80085

Re: repairing jpegs

snibgo wrote:Have you looked at the first 4 (or whatever) magic bytes? Maybe that's all that is wrong. If so, a simple C program could fix it.
that is my next option. will eventually look into that. c is not the problem. the problem is i do not know much about jpeg headers...
by toshog
2010-03-03T15:05:46-07:00
Forum: Users
Topic: repairing jpegs
Replies: 23
Views: 80085

Re: repairing jpegs

try searching google for "unix command line jpg reader" and see if you find anything useful i did. i tried about 3 - 4. nothing really useful. my guess is that all the open source programs that use libjpeg (and probably most of them, if not all of them, do) will have the same behavior. so...