FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » ImageMagick - Possible to return image as an object?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: ImageMagick - Possible to return image as an object? [message #174302 is a reply to message #174301] Tue, 31 May 2011 19:13 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 31-05-2011 21:09, Luuk wrote:
> On 31-05-2011 20:43, BigNate wrote:
>> Hi folks
>> I've got ImageMagick working and generating the images I need by using the exec() command and writing the images to a directory. The problem is, my boss now wants them returned as an object and not actually writing anything to the server. Does anyone know how to do this? I'm still learning about OOP so any help would be greatly appreciated.
>>
>> Thanks!
>>
>> Nate
>
> <?php
> header('Content-type: image/gif');
> exec('imageMacick.....');
> $file = file_get_contents('image.gif');
> echo $file;
> ?>
>

or,
http://www.php.net/imagick

--
Luuk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Programmers for PHP Web Development
Next Topic: how to parse url?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 17:35:57 GMT 2024

Total time taken to generate the page: 0.04703 seconds