Search found 8 matches

by jpka
2014-09-11T13:18:40-07:00
Forum: Developers
Topic: Feature request: invoke command for each pixel
Replies: 5
Views: 4212

Re: Feature request: invoke command for each pixel

You have great well-commented article ! Using it, i immediately write my filter, and it work (but slower than i expect). The problem remains is i can't make it as new filter, it only works as substitute for original analyze.c... In hope of my filter can be included in maintream IM suite, i try to wr...
by jpka
2014-09-08T14:13:10-07:00
Forum: Developers
Topic: Feature request: invoke command for each pixel
Replies: 5
Views: 4212

Re: Feature request: invoke command for each pixel

I already have C code that does my task, but it is not cross-platform, and can't work on any image format except straight RAW (and i of course use IM to get RAW from anything, it performs very vell). I probably can add header processing myself to recognize other files, but even better way (and it is...
by jpka
2014-09-08T08:49:30-07:00
Forum: Developers
Topic: Feature request: invoke command for each pixel
Replies: 5
Views: 4212

Feature request: invoke command for each pixel

Hi. I wonder if this is already solved, i can't find myself anything relevant. I need a command-line way to divide image by pixels, and for each enumerated pixel started from (0,0) execute custom (my) command and pass parameters to it: x, y, r, g, b, h, s, v, alpha . Something like convert --divide-...
by jpka
2014-01-21T22:13:42-07:00
Forum: Bugs
Topic: Text render not work using bitmap Terminus font
Replies: 7
Views: 9154

[SOLVED] Re: Text render not work using bitmap Terminus font

Hi! While trying to solve this, i dive into Source Code. I suddenly notice at magick/annotate.c:861 if (*draw_info->font == '-') return(RenderX11(image,draw_info,offset,metrics)); which may means the font name may be '-' or start from '-'. It is good news, because many X11 bitmap font names start wi...
by jpka
2014-01-19T00:53:13-07:00
Forum: Bugs
Topic: Text render not work using bitmap Terminus font
Replies: 7
Views: 9154

Re: Text render not work using bitmap Terminus font

I try to use full path and local path, compressed and decompressed font file. It is not helpful. When IM not found a font file, it immediately throw an error. I'm talk only about cases when no any errors from 'convert', so i know it find the font file successfully. Terminus font is not corrupt, it i...
by jpka
2014-01-18T06:47:16-07:00
Forum: Bugs
Topic: Text render not work using bitmap Terminus font
Replies: 7
Views: 9154

Re: Text render not work using bitmap Terminus font

I also found something about bitmap font supporting at IM manuals: In addition to the fonts specified by the above pre-defined list, you can also specify a font from a specific source. For example Arial.ttf is a TrueType font file, ps:helvetica is PostScript font, and x:fixed is X11 font . Terminus ...
by jpka
2014-01-18T00:49:37-07:00
Forum: Bugs
Topic: Text render not work using bitmap Terminus font
Replies: 7
Views: 9154

Re: Text render not work using bitmap Terminus font

I uncompress font and put to home folder, but output image is a noise, while it is different from previous. convert -pointsize 16 -font 'ter-u16b_unicode.pcf' label:"YOURTEXT" output.png I not get any errors at terminal. Is there a way how to debug program, something like '-v' or '--verbose' command...
by jpka
2014-01-17T14:25:18-07:00
Forum: Bugs
Topic: Text render not work using bitmap Terminus font
Replies: 7
Views: 9154

Text render not work using bitmap Terminus font

Hi! I need to 'write' some text on images with bitmap font without scaling. I try to do it using Terminus font set. I use command: convert -pointsize 16 -font '/usr/share/fonts/X11/misc/ter-u16b_unicode.pcf.gz' label:"YOURTEXT" output.png but get only trash (totally wrong) image. Almost all other so...