TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   How do I prevent imagejpeg | imagepng | imagegif from returning? (http://www.talkphp.com/general/3274-how-do-i-prevent-imagejpeg-imagepng-imagegif-returning.html)

Orc 08-22-2008 11:01 PM

How do I prevent imagejpeg | imagepng | imagegif from returning?
 
It returns automatically, how do I stop it from returning?

delayedinsanity 08-22-2008 11:44 PM

Omit it till it's necessary? What are you trying to do? As I'm sure you know it either saves to a file, or returns the raw stream. If you need to do something further with the outputted image, perhaps you can save it to a temporary location, reopen it when you need and continue on with the script?
-m

Orc 08-23-2008 12:06 AM

Quote:

Originally Posted by delayedinsanity (Post 17961)
Omit it till it's necessary? What are you trying to do? As I'm sure you know it either saves to a file, or returns the raw stream. If you need to do something further with the outputted image, perhaps you can save it to a temporary location, reopen it when you need and continue on with the script?
-m

I was thinking about that, but I didn't think it would be a good idea to just create a new file with it in there and then go through that files data. :P

Kalle 08-23-2008 03:23 AM

Im not sure I understand the question fully. Could you explain it in a bit more details about what you're trying to do?

Orc 08-23-2008 10:38 AM

Nevermind, I found a way around my problem.


All times are GMT. The time now is 05:27 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0