Search found 24 matches

by ghostmansd
2011-04-25T11:39:34-07:00
Forum: Users
Topic: Make a picture from text
Replies: 2
Views: 4899

Re: Make a picture from text

Thank to everyone, question is solved. You have to use pnmtoplainpnm.
by ghostmansd
2011-04-25T11:34:21-07:00
Forum: Users
Topic: Make a picture from text
Replies: 2
Views: 4899

Make a picture from text

I know that it is possible to make a bitonal picture from text. For example, to make pbm file with letter "J" you have to enter something like that: P1 # This is an example bit map file j.pbm 6 10 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 1 0 0 1 1 1 0...
by ghostmansd
2011-03-27T14:47:38-07:00
Forum: Users
Topic: Black line / linea nigra / черная линия
Replies: 6
Views: 13808

Re: Black line / linea nigra / черная линия

I mean that what you've said. I've already decided this problem in a such way: SZX=$(identify -format "%w" "$IMG") SZY=$((SZY=$(identify -format "%h" "$IMG") / 2)) convert "$IMG" -white-threshold 75% -stroke black -strokewidth 10 -draw "line 1,$...
by ghostmansd
2011-03-27T14:07:26-07:00
Forum: Users
Topic: Black line / linea nigra / черная линия
Replies: 6
Views: 13808

Re: Black line / linea nigra / черная линия

see -draw "line x1,y1 x2,y2" http://www.imagemagick.org/Usage/draw/#primitives convert inputimage -stroke black -stroke-width 1 -draw "line x1,y1 x2,y2" resultimage Is it possible to get image size to know where to draw line? It seems that x1=1, y1=height/2, x2=width, y2=height/2.
by ghostmansd
2011-03-27T13:29:13-07:00
Forum: Users
Topic: Black line / linea nigra / черная линия
Replies: 6
Views: 13808

Black line / linea nigra / черная линия

Dear forum-users, is it possible to draw a black line, dividing an image? I need to draw a black line between pages to make Scan Talor recognize that file consists of two pages. Debeo scriptvm, qvod cognoscit, si pagina duas paginas inclvdit. Si inclvdit, scriptvm has paginas una linea nigra dividit...
by ghostmansd
2011-03-26T04:42:46-07:00
Forum: Users
Topic: How to equalize brightness?
Replies: 3
Views: 7576

Re: How to equalize brightness?

Thank you very much!
by ghostmansd
2011-03-25T14:51:25-07:00
Forum: Users
Topic: How to equalize brightness?
Replies: 3
Views: 7576

How to equalize brightness?

I think I ask a hard question, which probably has no answer, but I'll try. Is it possible to equalize lightness of the picture? In other words, to make the same effect like in Book Restorer. You can see picture before and after below ( be careful, big images! ). http://rghost.ru/4932434/thumb.png ht...
by ghostmansd
2011-03-21T12:33:09-07:00
Forum: Users
Topic: Add margins to pbm
Replies: 3
Views: 7075

Re: Add margins to pbm

Thank you! And is it possible to delete a part of borders? For example, I need to delete 2 cm from top and 3 from bottom.
Image
by ghostmansd
2011-03-21T09:49:58-07:00
Forum: Users
Topic: Add margins to pbm
Replies: 3
Views: 7075

Add margins to pbm

Hello everybody! Could you help me to add white margins to image in pbm format? For example, 2 cm for top and bottom, 1,5 for left and rigt.