Reputation: 71
I would like to know whether it is possible to convert the following base image to updated image using PHP GD library?
Upvotes: 0
Views: 53
Reputation: 52372
Anything is possible. You can reimplement every algorithm in Adobe Photoshop in PHP if you really wanted to, reading and writing one pixel at a time to/from the image. It's just a matter of how many days/weeks/months/years you want to spend reinventing the wheel instead of finding an appropriate tool/library.
So can you turn some kind of drop shadow thing into some kind of brick thing? Yes. Can you do it automatically in one line of code? No, there's no GD function that knows that's what you want to happen.
Upvotes: 1