Search found 168 matches
- 2015-01-01T06:24:41-07:00
- Forum: Users
- Topic: 12 unique colors in PNG -- extract to 12 different PNGs
- Replies: 10
- Views: 9633
Re: 12 unique colors in PNG -- extract to 12 different PNGs
My code needs a modification to get the hex (or rgb) colors. So rather than using the last column of color values that can be names or rgb values, I switched it to get consistent hex values from the third column and one other modification, since those colors need quoting. That (switching to third c...
- 2014-12-31T16:46:40-07:00
- Forum: Users
- Topic: 12 unique colors in PNG -- extract to 12 different PNGs
- Replies: 10
- Views: 9633
Re: 12 unique colors in PNG -- extract to 12 different PNGs
Sorry, yes. Wanted to hint at the fact, but forgot. Had to use a different image.fmw42 wrote:You have 15 unique colors not 12.
- 2014-12-31T14:12:36-07:00
- Forum: Users
- Topic: 12 unique colors in PNG -- extract to 12 different PNGs
- Replies: 10
- Views: 9633
Re: 12 unique colors in PNG -- extract to 12 different PNGs
Post your image to dropbox.com and put the URL here. http://i.stack.imgur.com/Xots0.png http://i.stack.imgur.com/Xots0.png I think there are more efficient ways to do this. Yes, that's why I'm asking :D If I misunderstand what you are trying to do, please clarify. But it seems you want one image ou...
- 2014-12-31T11:44:50-07:00
- Forum: Users
- Topic: 12 unique colors in PNG -- extract to 12 different PNGs
- Replies: 10
- Views: 9633
12 unique colors in PNG -- extract to 12 different PNGs
I have a PNG with only 12 unique colors. I'm looking for a efficient and fast method to convert this to 12 different PNGs where each resulting image keeps all pixels of one of the respective unique colors, while converting all the others to transparent pixels. So far I've come up only with a very sl...
- 2014-12-23T01:26:12-07:00
- Forum: Bugs
- Topic: Building IM 7 from SVN trunk fails on OSX 10.9.5
- Replies: 8
- Views: 8155
Re: Building IM 7 from SVN trunk fails on OSX 10.9.5
IM now uses OpenJpeg for its delegate for jp 2000 files, since it has more flexibility with respect to more current format of jp 2000. Older versions of IM do still use Jasper. I believe you need OpenJpg 2.0.1, if I recall correctly. I have it: LIBJPEG2 --with-openjp2=yes yes My OpenJPEG is even mo...
- 2014-12-22T16:02:49-07:00
- Forum: Bugs
- Topic: Building IM 7 from SVN trunk fails on OSX 10.9.5
- Replies: 8
- Views: 8155
Re: Building IM 7 from SVN trunk fails on OSX 10.9.5
I did re-run './configure', this time adding '-with-jp2=no'. Here is (part of) the configure output: JBIG --with-jbig=yes yes JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2=no LCMS v1 --with-lcms=no no LCMS v2 --with-lcms2=yes yes This time the result is no more empty, but clearly says '--with-jp2...
- 2014-12-22T14:49:08-07:00
- Forum: Bugs
- Topic: Building IM 7 from SVN trunk fails on OSX 10.9.5
- Replies: 8
- Views: 8155
Re: Building IM 7 from SVN trunk fails on OSX 10.9.5
I'm wondering about this output from my './configure' call: JPEG-2000 --with-jp2= OpenJP2 --with-openjp2=yes yes Why doesn't '--with-jp2=' say "yes" or "no"? Why is it empty? OTOH, the 'build' stage later leads to this error message: make[2]: *** [coders/magick_libMagickCore_6_Q1...
- 2014-12-22T14:15:00-07:00
- Forum: Bugs
- Topic: Building IM 7 from SVN trunk fails on OSX 10.9.5
- Replies: 8
- Views: 8155
Re: Building IM 7 from SVN trunk fails on OSX 10.9.5
Why do you need to build from SVN. Why not? :-) Seriously -- I have my reasons: I do miss a certain delegate, or functionality after a short while every time I installed ready-made packages -- be it on Linux, Windows or Mac OS X; I want to play with a few of the more "unusual" delegates; ...
- 2014-12-22T11:58:29-07:00
- Forum: Bugs
- Topic: Building IM 6 from SVN 6.8.9 branch fails on OSX 10.9.5
- Replies: 0
- Views: 3289
Building IM 6 from SVN 6.8.9 branch fails on OSX 10.9.5
( Note : I also posted a few minutes ago how building IM 7 from SVN trunk fails for me: -- http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26749 ) I checked out https://subversion.imagemagick.org/subversion/ImageMagick/branches/ImageMagick-6.8.9 This system is OS X 10.9.5. It has...
- 2014-12-22T11:40:53-07:00
- Forum: Bugs
- Topic: Building IM 7 from SVN trunk fails on OSX 10.9.5
- Replies: 8
- Views: 8155
Building IM 7 from SVN trunk fails on OSX 10.9.5
I checked out https://subversion.imagemagick.org/subversion/ImageMagick/trunk This system is OS X 10.9.5 with lots of current MacPorts packages installed (which install everything into '/opt/local') . The first time I wanted to build it, I started with many custom options added to './configure' . Af...
- 2014-12-13T19:22:54-07:00
- Forum: Bugs
- Topic: 'delegate:bimodal' vs. delegate:bimodel' -- which is it?
- Replies: 1
- Views: 2279
'delegate:bimodal' vs. delegate:bimodel' -- which is it?
Regarding http://www.imagemagick.com/script/command-line-options.php#define I think there is a typo on that page which is repeated a few times (possibly slipped in by a 'search and replace' action): It uses delegate:bimodel=true where it should probably be delegate:bimodal=true At least in my $PREFI...
- 2014-12-13T17:26:34-07:00
- Forum: Users
- Topic: Convert SVG with webfonts to PDF with embedded fonts
- Replies: 5
- Views: 9417
Re: Convert SVG with webfonts to PDF with embedded fonts
Inkscape indeed does have a command line interface that can be used to convert SVG to PDF: inkscape \ --without-gui \ --export-pdf=output.pdf \ input.svg This can also be used to configure your own custom ImageMagick delegate . Here is a line that should work: <delegate decode="svg:decode"...
- 2014-12-13T16:46:57-07:00
- Forum: Users
- Topic: ICC Color Profile to simulate color blindness?
- Replies: 1
- Views: 4588
ICC Color Profile to simulate color blindness?
At StackOverflow I found an interesting question today: "Creating an ICC Color Profile to simulate vision of color blind people" (See here: http://stackoverflow.com/q/27275782/359307 ) Though this question is not directly ImageMagick-related, please bear with me if I ask in this forum: is ...
- 2014-12-11T14:01:55-07:00
- Forum: Users
- Topic: How can I resize a PDF and keep a right blank margin
- Replies: 36
- Views: 28085
Re: How can I resize a PDF and keep a right blank margin
The problem is on the temporary file. Even I mention exactly as you the dimensions 6300x8420 for the file, after creating this one, it has only 5950x8420 (?!) The 6300x8420 (as I explained in my post) are the pixels. Ghostscript by default works with a resolution 720 PPI when creating PDF files. Th...
- 2014-12-11T13:57:13-07:00
- Forum: Users
- Topic: How can I resize a PDF and keep a right blank margin
- Replies: 36
- Views: 28085
Re: How can I resize a PDF and keep a right blank margin
Can you post (a link to) a sample PDF file of yours?michellux wrote:The problem is on the temporary file. Even I mention exactly as you the dimensions 6300x8420 for the file, after creating this one, it has only 5950x8420 (?!)