Search found 10 matches

by CodeFan
2012-08-18T01:54:26-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

Re: png32:- works, png:- doesn't

Might you have accidentally type a long or short hyphen with png:-? That might account for it. My first thought was that my syntax is wrong. That's why i made the php output the command to the browser instead of the image. Then copy/pasted from the browser into bash and it all worked there but not ...
by CodeFan
2012-08-17T21:17:22-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

Re: png32:- works, png:- doesn't

In utter dismay I report the problem having vanished all of a sudden! That's the strangest issue i've ever had to deal with. i just replaced png32:- with png:- and now it's working like a charm. Just like that. I have a feeling the problem will be back though. I'll continue the thread when i start ...
by CodeFan
2012-08-17T21:01:22-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

Re: png32:- works, png:- doesn't

Just a clarification - I tried running procopen() on a shell script using png:- for output instead of just the command to simulate a shell environment. It worked! Below are the delegates.xml and configure.xml contents as run from proc_open on imagemagick's convert. It'd be really nice if i can get ...
by CodeFan
2012-08-17T20:35:52-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

Re: png32:- works, png:- doesn't

Yes, that's the working png32:- delegate. When i use just png:- it throws the no encode delegate error. Here is the php code i call the convert program with: $format = 'jpg:-'; switch($options['format']) { case 'png' : $format = 'png32:-'; break; default: $format = 'jpg:-'; break; } $IMCommand = BIN ...
by CodeFan
2012-08-17T20:11:25-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

Re: png32:- works, png:- doesn't

glennrp, I'm not completely sure that's the case. You can see the output here: http://www.amazingwristbands.com/joomla/templay/generate-preview?text=BerkshireSwash-Regular.ttf&font=BerkshireSwash-Regular.ttf&Simple=true&format=png The resulting image has transparency and is returned with a Content ...
by CodeFan
2012-08-17T05:03:33-07:00
Forum: Users
Topic: png32:- works, png:- doesn't
Replies: 9
Views: 13417

png32:- works, png:- doesn't

I've installed IM 6.7.9-0 from source on CentOS6. One thing which stands out is that I have made sure I have libpng15 installed in the /usr/lib64 dir but during execution of the configuration script it shows: checking for LIBPNG15 support ... no ..which forces it to use the already present libpng12 ...
by CodeFan
2012-08-16T06:18:11-07:00
Forum: Users
Topic: png:- works in shell. no encode delegate in proc_open
Replies: 0
Views: 4268

png:- works in shell. no encode delegate in proc_open

Hello, installed ImageMagick-6.7.8-7 on CentOS 6 from source. However when I use convert to get me raw png output specifying png:- as output format raises a problem when it's being run using php's proc_open. Png output works only when the command is run from shell. Other formats work just fine with ...
by CodeFan
2012-04-03T13:40:04-07:00
Forum: IMagick
Topic: Using php proc_open() with multiple input streams
Replies: 4
Views: 12845

Re: Using php proc_open() with multiple input streams

Indeed a png works just as good. In fact I couldn't get the miff to work AFAIC remember :). I can send the preview generator file if anyone is interested.
by CodeFan
2012-04-02T16:53:19-07:00
Forum: IMagick
Topic: Using php proc_open() with multiple input streams
Replies: 4
Views: 12845

Re: Using php proc_open() with multiple input streams

Thanks for the thorough explanation. Indeed the solution I came accross was to use a concatenated png file with the 3 images appended to each other (each output as a png as well). That way the concatenated images are still stored in a php variable and no intermediate files are used. That seemed to ...
by CodeFan
2012-03-21T18:14:24-07:00
Forum: IMagick
Topic: Using php proc_open() with multiple input streams
Replies: 4
Views: 12845

Using php proc_open() with multiple input streams

0 down vote favorite share [g+] share [fb] share [tw] Seems like I'm having problems using the streams which are piped to a process when using the proc_open() php function. The process I'm starting is simply the convert ImageMagick utility to compose 3 images on top of each other. When only 1 input ...