Search found 13 matches

by holistone
2012-07-05T07:17:41-07:00
Forum: Users
Topic: label fails with Windows TTC TrueType font collection
Replies: 11
Views: 16375

Re: label fails with Windows TTC TrueType font collection

As I stated at the start of the thread, I'm running WIndows 7, not Linux and have not installed Perl. iM already knows about the font and its location since it appears in the output from convert -list fonts as shown above in my first post. My understanding based on experimentation and the comments ...
by holistone
2012-07-04T12:37:17-07:00
Forum: Developers
Topic: request: exact output colormap specification
Replies: 3
Views: 5665

Re: request: exact output colormap specification

If someone could point me to the relevant section/files of source code for the -remap implementation, I might be able to get a working version for my own use.
by holistone
2012-06-30T15:46:05-07:00
Forum: Users
Topic: label fails with Windows TTC TrueType font collection
Replies: 11
Views: 16375

Re: label fails with Windows TTC TrueType font collection

Thanks.

-font "MS-Gothic-&-MS-PGothic-&-MS-UI-Gothic" with required quotes does work.
-font msgothic does not.
by holistone
2012-06-30T14:28:38-07:00
Forum: Users
Topic: label fails with Windows TTC TrueType font collection
Replies: 11
Views: 16375

Re: label fails with Windows TTC TrueType font collection

The link to image text handling was extremely helpful, independent of Pango http://www.imagemagick.org/Usage/text/ Some of those examples use -font mincho whereas I still need to use -font c:/windows/fonts/msmincho.ttc . Is there some setting that I am missing that allows the shorter version of the ...
by holistone
2012-06-30T13:07:36-07:00
Forum: Users
Topic: label fails with Windows TTC TrueType font collection
Replies: 11
Views: 16375

Re: label fails with Windows TTC TrueType font collection

The suggestion to use TTC: as a prefix had no effect, but specifying the complete path as convert -background #000 -fill #0F0 -pointsize 64 -font c:/windows/fonts/msgothic.ttc label:hello! test.gif ran without error. The resultant image, however, has widely spaced characters, but that is perhaps a ...
by holistone
2012-06-30T12:03:40-07:00
Forum: Users
Topic: label fails with Windows TTC TrueType font collection
Replies: 11
Views: 16375

label fails with Windows TTC TrueType font collection

I am using iM 6.7.7-8 on Windows 7 32-bit to create simple labels using various fonts. It seems that if I specify a font that resolves to .ttf glyphs the process works, whereas if the font resolves to a .ttc font collection it fails, even through iM seems to know about the font. A partial listing ...
by holistone
2012-06-30T09:37:48-07:00
Forum: Developers
Topic: request: exact output colormap specification
Replies: 3
Views: 5665

request: exact output colormap specification

I am trying to exactly specify the colormap of a .gif image. Although the -remap option does use the specified colors, it shuffles the order in the output colormap. The original discussion is found in the User Forum http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=21322&p=87006#p87006 ...
by holistone
2012-06-30T09:23:31-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

Re: convert image with exact specified colormap

Thanks. I'll check the developers forum. I also tried GraphicMagick which has a similar convert -map option to specify a colormap. Like iM, the output uses only the colors specified in the colormap, and scrambles the order in colormap, but in a different manner than iM.
by holistone
2012-06-29T20:07:26-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

Re: convert image with exact specified colormap

Thanks for the quick responses. Experimentally the order of the input file and first option make no difference to the output. The +dither makes no difference, possibly since my input images contain only colors that are already in the palette. In fact, if I give as input a .gif image that already has ...
by holistone
2012-06-29T19:40:32-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

Re: convert image with exact specified colormap

The cmap.gif image is one row of 16 pixels with color indices from 0 to 15. There are 16 entries in the gif colormap/palette. When I run convert -remap cmap.gif input.png output.gif I get a 4-bit (16-color) .gif file as output with a colormap/palette that has the same colors as cmap.gif, but in a ...
by holistone
2012-06-29T15:00:51-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

Re: convert image with exact specified colormap

Converting to a png palette image with -remap and -define png:preserve-colormap gives the same result as converting to gif. The output colormap/palette DOES contain all of the colors from the remap specified input, but it alters the order.
by holistone
2012-06-29T14:40:26-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

Re: convert image with exact specified colormap

-define png:preserve-colormap has no effect using IM 6.7.7-8. My reading of the documentation is that this is for ENCODING png files, while I am trying to encode a .gif file. I hoped there there would be some form of -define remap:preserve-colormap option to map the image exactly to the desired ...
by holistone
2012-06-29T11:32:49-07:00
Forum: Users
Topic: convert image with exact specified colormap
Replies: 12
Views: 26042

convert image with exact specified colormap

I am using Image Magick Q8 on Windows 7 to add new images to an ancient display program that accepts .gif file input but uses a fixed colormap with no ability to alter the colormap for individual images. Specifically, I want to save .gif conversions of other images with a specified colormap. The ...