Search found 23 matches
- 2017-03-17T23:45:55-07:00
- Forum: Users
- Topic: Caption failed adding text from file to image
- Replies: 12
- Views: 10707
Re: Caption failed adding text from file to image
I am trying to overlay text onto this gradient and it is not working. It creates two images and none have the text caption. convert -size 1024x512 xc: +size xc:"#fb35fc" xc:"#603edb" \ -fx 'ar=hypot( i/w-.8, j/h-.3 )*4; br=hypot( i/w-.3, j/h-.7 )*4; u[1]*br/(ar+br) + u[2]*ar/(ar+...
- 2017-03-13T14:31:02-07:00
- Forum: Users
- Topic: Caption failed adding text from file to image
- Replies: 12
- Views: 10707
Re: Caption failed adding text from file to image
You can change your policy.xml if you do not care about outside security issues. You can also do text=`cat ./temp.txt` convert -background lightblue -fill blue -font /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf -size 500x500 caption:"$text" -bordercolor lightblue -border 10 cf.png ...
- 2017-03-08T23:32:29-07:00
- Forum: Users
- Topic: Caption failed adding text from file to image
- Replies: 12
- Views: 10707
Re: Caption failed adding text from file to image
] SOLUTION SOLVED [
convert -background lightblue -fill blue -font /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf -size 500x500 caption:"$(cat temp.txt)" -bordercolor lightblue -border 10 cf.png
convert -background lightblue -fill blue -font /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf -size 500x500 caption:"$(cat temp.txt)" -bordercolor lightblue -border 10 cf.png
- 2017-03-08T23:23:27-07:00
- Forum: Users
- Topic: Caption failed adding text from file to image
- Replies: 12
- Views: 10707
Caption failed adding text from file to image
I am trying to place the contents of a text file on top of a image. I am using caption because the documentation said it will add the necessary line breaks to match the dimension of the image. This is from the on-line documentation. http://www.imagemagick.org/Usage/text/#label : "Best Fit Capti...
- 2014-05-28T11:19:02-07:00
- Forum: Users
- Topic: Help Improving Text Of Scanned Image 4 OCR
- Replies: 6
- Views: 17741
Re: Help Improving Text Of Scanned Image 4 OCR
fmw42, thanks for sharing this. I appreciate your hard work.
I tried 3 of the following commands on your site. This is the best on I got so far. Any sugeestion from looking at the pdf?
I tried 3 of the following commands on your site. This is the best on I got so far. Any sugeestion from looking at the pdf?
Code: Select all
./textcleaner -g -e stretch -f 25 -o 5 -s 1 out.pdf t9.png
- 2014-05-28T11:05:14-07:00
- Forum: Users
- Topic: Help Improving Text Of Scanned Image 4 OCR
- Replies: 6
- Views: 17741
Re: Help Improving Text Of Scanned Image 4 OCR
It is on Debian.
- 2014-05-28T10:28:03-07:00
- Forum: Users
- Topic: Help Improving Text Of Scanned Image 4 OCR
- Replies: 6
- Views: 17741
Help Improving Text Of Scanned Image 4 OCR
I have a image pdf page. I would like to convert the page to an image and extract the text. This is the pdf page. http://mo-de.net/d/out.pdf This is what I have tried. Convert the pdf page to an image. convert -density 200 –antialias -sharpen 0x3.0 -colorspace GRAY out.pdf t5.png I use the following...
- 2014-02-27T16:42:39-07:00
- Forum: Users
- Topic: Llabel Image PythonMagick File How?
- Replies: 0
- Views: 3217
Llabel Image PythonMagick File How?
I am trying to label an image using PythonMagick and a text file. It is not working. How can I get this to work? tmp_img=PythonMagick.Image(str(image_width)+"x"+str(image_height),'rgb(120,20,20)') tmp_img.font("@/usr/share/fonts/truetype/freefont/FreeMonoBold.ttf") tmp_img.fontPo...