Search found 5 matches

by Lupus
2012-03-13T12:24:25-07:00
Forum: Users
Topic: Wrong result on texts
Replies: 4
Views: 7109

Re: Wrong result on texts

Turns out its my fault. I'm trying to execute this code via nodejs's spawn method:

ok it seams when I executed this with wrong parameters:

var RGB = 'rgb(0,100,0)';
var fsize = 50; //something like that
var ls = spawn('C:\\ImageMagick-6.7.6-Q16\\convert.exe', ['-background', 'transparent ...
by Lupus
2012-03-13T11:28:37-07:00
Forum: Users
Topic: Wrong result on texts
Replies: 4
Views: 7109

Re: Wrong result on texts

fmw42 wrote:try

C:\\ImageMagick-6.7.6-Q16\\convert.exe -background transparent -fill red -pointsize 72 -font Arial label:text -density 96 text.png
nothing changed
by Lupus
2012-03-13T08:40:39-07:00
Forum: Users
Topic: Trouble on creating png
Replies: 4
Views: 6485

Re: Trouble on creating png

ok I couldn't find the right solution for that and because of that I turned my face to a diffrent approach;

NODEJS:
:)



var ls = spawn('C:\\ImageMagick-6.7.6-Q16\\convert.exe', ['-density', 96, '-background', 'transparent', '-fill', RGB ,'-font', 'Arial', '-pointsize', dens , '-gravity ...
by Lupus
2012-03-13T08:07:10-07:00
Forum: Users
Topic: Wrong result on texts
Replies: 4
Views: 7109

Wrong result on texts

I'm trying to create an image ;

C:\\ImageMagick-6.7.6-Q16\\convert.exe -density 96 -background transparent -fill red -pointsize 72 -font Arial label:text text.png

won't give 96 dpi 72pt text in Arial font. I mesured the output on different programs and it never gives right result.

Am I doing ...
by Lupus
2012-03-12T08:21:57-07:00
Forum: Users
Topic: Trouble on creating png
Replies: 4
Views: 6485

Trouble on creating png

Ok! I have this simple code:

convert -background transparent -fill red -pointsize 72 -gravity Center label:"DENEY" deney.png

and it works flawlessly on dos and bash terminal.
But this:


<?php
header("Content-type: image/png");
passthru('convert -background transparent -fill red -pointsize 72 ...