#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Ithaca
    Posts
    68
    Rep Power
    2

    Using Imagick instead of GD image functions...


    Do anyone of you know what are the equivalent methods for Imagick class to those common GD image functions?

    PHP Code:
    imagecreatefrompng()
    imagepng()
    imagesx()
    imagesy()
    imagecreatetruecolor()
    imagecolorallocate()
    imagefilledrectangle()
    imagecolortransparent()
    imagecopymerge() 
    I am not quite familiar with image manipulations myself, but Id like to know since it will help developers working with me on my application. Thx.
    Last edited by Hall of Famer; March 27th, 2013 at 04:30 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Ithaca
    Posts
    68
    Rep Power
    2
    umm no one knows how to do this?
  4. #3
  5. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Hi,

    maybe it's just that nobody is willing to go through that list.

    But finding those things out with a bit of research shouldn't be too hard. I already found the equivalents of imagesx(),
    imagesy(), imagecolorallocate() and imagefilledrectangle() in 10 seconds:

    http://php.net/manual/en/book.imagick.php
    The 6 worst sins of security ē How to (properly) access a MySQL database with PHP

    Why canít I use certain words like "drop" as part of my Security Question answers?
    There are certain words used by hackers to try to gain access to systems and manipulate data; therefore, the following words are restricted: "select," "delete," "update," "insert," "drop" and "null".
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Ithaca
    Posts
    68
    Rep Power
    2
    The fact is that I am not familiar with those image functions in the very first place, which makes it more difficult. If I have a better understanding of what those image functions are, conversion should be much more convenient.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Dec 2004
    Posts
    3,008
    Rep Power
    376
    if you are not familiar, then FAMILIARISE yourself look at what those functions do and then look at functions in imagick do .. and see which ones are the same/similar.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2013
    Location
    usa
    Posts
    4
    Rep Power
    0
    thank u my friends about that
    so helpfule
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Ithaca
    Posts
    68
    Rep Power
    2
    Originally Posted by paulh1983
    if you are not familiar, then FAMILIARISE yourself look at what those functions do and then look at functions in imagick do .. and see which ones are the same/similar.
    You dont have to be rude, way to go... But anyway, I will I will let this question pass then, it aint going anywhere.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Dec 2004
    Posts
    3,008
    Rep Power
    376
    I am not being rude.. the guy says he is not familiar with it.. so what is the most obvious thing that should be done? read the FAQ/manual etc not come here, post it and ask us to read the manual so we can help him?

IMN logo majestic logo threadwatch logo seochat tools logo