Menu

Howto return a gd object with image?

Help
2010-05-11
2014-02-26
  • Marc Urbaitel

    Marc Urbaitel - 2010-05-11

    Hi, I am trying to return a GD object instead of outputting the image to the browser.   I then use that object to write the image into a PDF document (i've got this working already for 1d barcodes).

    What function can I call to return the gd object??

     
  • Dominik Dzienia

    Dominik Dzienia - 2010-08-09

    take a look at QRimage class, instead of ::png static method you can use ::image, but that will require some small hacking - creating function similar to QRencode::encodePNG

     
  • Francisco Salazar

    Hi I'm trying to do something similar to urbaitel can you share your code if you solved it please

     
  • mariah

    mariah - 2014-02-26
    Post awaiting moderation.
  • mariah

    mariah - 2014-02-26
    Post awaiting moderation.

Log in to post a comment.