Menu

Asido_Image::Display()

Anonymous
2007-10-07
2013-04-18
  • Anonymous

    Anonymous - 2007-10-07

    There are times when I need to manipulate an image, but not save the output to drive, just show it in the browser..

    could you add Asido_Image::Display()

    Thanks. This looks like a great tool.

     
    • Kaloyan K. Tsvetkov

      Unfortunately such functionality is not supported by some of the "platforms". I am talking about direct browser output.  I could add such a method, but it will work just as you said - it will first save the image to a temporary folder, set the correct HTTP headers (to match the type of the image file) and then feed it to the browser.

       
    • Anonymous

      Anonymous - 2007-10-08

      I am not familiar with all the "platforms" you are supporting with this,  as I do all my work in GD. I would assume that the need to write to disk would only be applicable to the "platforms" that didnt  support outputting the image data directly...

      Header("Content-type: image/jpeg");
      imagejpeg($imagedata,'',$quality);

      It would also be  good to have the ability to pass the raw image data out of the Asido environment so further custom manipulation...

       
    • Kaloyan K. Tsvetkov

      I'll see what I can do about it

       

Log in to post a comment.