Search found 53 matches

by alasdairdf
2014-05-14T07:26:41-07:00
Forum: Consulting
Topic: $2000 for cleaning up scanned images
Replies: 3
Views: 13858

Re: $2000 for cleaning up scanned images

OS I'm working from is CentOS 6, 64bit. I actually use an older version of IM so that the effects of one particular feature are always the same. But I don't suppose it would be an issue to install 2 different version of IM at the same time? (Latest version and my preferred older version.) These scan...
by alasdairdf
2014-05-14T03:15:11-07:00
Forum: Consulting
Topic: $2000 for cleaning up scanned images
Replies: 3
Views: 13858

$2000 for cleaning up scanned images

Hello, I can pay $2000 for an IM expert to help out with some scripts for cleaning up scanned pages from books. I would be even more interested if anyone can combine IM with some programming, or OpenCV. But just IM would be OK too. These scans can consist of single images containing text, pictures, ...
by alasdairdf
2014-03-04T23:24:48-07:00
Forum: Users
Topic: Extract colors from image
Replies: 11
Views: 6244

Re: Extract colors from image

Instead of "-grayscale Rec709Luminance", you could use "-colorspace Gray". OK, thanks. But is this identical or is "-grayscale Rec709Luminance" going to give better results? It's possible that I could install two different versions of IM and use a newer version for thi...
by alasdairdf
2014-03-03T10:28:31-07:00
Forum: Users
Topic: Extract colors from image
Replies: 11
Views: 6244

Re: Extract colors from image

I can't upgrade, I'm using 6.7.7-7 and I need this exact version as it contains a specific bug fix which then broke again in the next version. This was the version magick did to fix the bug-fix and it is the only version that works.

Bonzo, either works. The problem is with -grayscale.
by alasdairdf
2014-03-03T09:18:17-07:00
Forum: Users
Topic: Extract colors from image
Replies: 11
Views: 6244

Re: Extract colors from image

OK, now I'm getting a different error:

Code: Select all

# convert rose: \( +clone -fill "rgb(242,255,0)" -colorize 100 \) -grayscale Rec709Luminance -compose MinusSrc -composite -fill White +opaque Black y.png
convert: unrecognized option `-grayscale' @ error/convert.c/ConvertImageCommand/1632.
by alasdairdf
2014-03-03T05:31:51-07:00
Forum: Users
Topic: Extract colors from image
Replies: 11
Views: 6244

Re: Extract colors from image

Thank you very much for your help. Unfortunately I get this error testing your code. # convert rose: (+clone -fill rgb(242,255,0) -colorize 100) -grayscale Rec709Luminance -compose MinusSrc -composite -fill White +opaque Black y.png -bash: syntax error near unexpected token `(' Am I doing something ...
by alasdairdf
2014-03-03T04:50:11-07:00
Forum: Users
Topic: Extract colors from image
Replies: 11
Views: 6244

Extract colors from image

I'd like to split an image into each color and every color that is darker, so that this becomes black and everything else white. I see I can get the colormap with identify, so what I would like to extract each one of these colors into a separate image, but also include all darker colors, e.g. I want...
by alasdairdf
2014-02-28T00:39:43-07:00
Forum: Users
Topic: How to separate image into different shades of grey?
Replies: 1
Views: 2474

How to separate image into different shades of grey?

Hello, I'm trying to build a vectorizer for greyscale images. What I need to do with IM is to separate each image into 32 shades of grey, starting from very light grey all the way to black. For each shade a copy is made of the original where any pixels lighter than this shade are changes to white, a...
by alasdairdf
2012-05-28T04:33:08-07:00
Forum: Bugs
Topic: Caption Again
Replies: 1
Views: 4089

Caption Again

Version: ImageMagick 6.7.7-1 2012-05-25 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP Text is clipped on top & bottom with: convert -limit thread 1 -background yellow -font "smallcaps.otf" +pointsize -size 1335x806 -gravity ce...
by alasdairdf
2012-05-24T23:13:21-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

Thanks! I'll be sure to let you know if there are any more little bugs hiding in there! :D
by alasdairdf
2012-05-24T18:35:03-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

Out of curiosity do you get the same problems from using PANGO: rather than CAPTION: I think that in PANGO you have to specify the font size, it won't just match the font size to the canvas size, like caption does. Correct me if I'm wrong. magick , I see a new beta is out. Is there anything in this...
by alasdairdf
2012-05-23T22:21:44-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

OK, thanks. A couple of seconds per image doesn't make much difference to me. Perhaps there could be a command to choose a more reliable but slower method for the caption, vs. a quicker but slightly less reliable method?
by alasdairdf
2012-05-23T17:32:05-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

Version: ImageMagick 6.7.7-1 2012-05-23 Q16 There is still a serious bug with certain long sentences: convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x806 -gravity center -fill "rgb(28,22,17)" caption:"Petrifactions and Right Honou...
by alasdairdf
2012-05-23T17:09:47-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

Thanks magick. It fixes all the major issues, there are still some minor issues. E.g. convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"A Manual of General History" -trim -write...
by alasdairdf
2012-05-23T03:38:48-07:00
Forum: Bugs
Topic: New Beta Bug
Replies: 12
Views: 18696

Re: New Beta Bug

Get's worse and worse. For this one only the letter "e" is left, and everything else is cut off. convert -limit thread 1 -background transparent -font "smallcaps.otf" +pointsize -size 1335x605 -gravity center -fill "rgb(28,22,17)" caption:"Pinafore Palace" -tr...