Sticker effect in imagick php
- Status: Closed
- Prize: $100
- Entries Received: 3
- Winner: TheKingOfCode
Contest Brief
I want a PHP script (though I'm open for suggestions), that would need 2 input,
1. an image (with transparent background)
2. a stroke thickness number
Then from those, it would generate an image as output, with the sticker effect applied.
A very good example of this is redbubble.com' sticker product designer.
I generally know about imagick that could be capable of this, but I'm open for alternatives, as long as it gets the job done well.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some images that you can test the script on:
Very simple: https://pixabay.com/vectors/black-friday-black-friday-sign-2951013/
Basic: https://pixabay.com/illustrations/lamb-sheep-cute-farm-animal-baby-1388937/
Example where the background should be filled (between the shadow and the sheep the transparent space should be filled with white, which would be part of the sticker): https://pixabay.com/vectors/sheep-animal-farm-agriculture-cute-161630/
Same deal as above (as you can see the dog is transparent inside as well, but it should be filled with white background, and have the stroke around the outer line): https://pixabay.com/vectors/dog-animal-domestic-animal-doggie-1728494/
Trickier (this one is trickier, because has a bunch of particles around the image, however the sticker should still be one piece): https://pixabay.com/vectors/tiger-abstract-animal-wild-cat-2028215/
PS: it's alright if the image consists of more parts and if they are far from each other to generate separate stickers, like in this example:
https://ih0.redbubble.net/image.791477795.6250/st,small,507x507-pad,600x600,f8f8f8.u11.jpg
These are some images you can test it with.
As for the end result, to get the sticker effect, it needs the white stroke around it, with a bit of grey border like this one: https://ih1.redbubble.net/image.228145250.0544/st,small,507x507-pad,600x600,f8f8f8.jpg
Note: The version above is taken from redbubble, which is already acceptable, but don't be afraid to play around with it and make it a bit different, as long as it gets close as possible to a sticker effect.
For example I'm willing to pay extra, maybe even 100 if it would look like this: https://design.tutsplus.com/tutorials/quick-tip-how-to-create-a-simple-sticker-text-effect--vector-4170 :)
As for the script, I would like it to be in PHP, and avoid using exec, but no need to waste time on a form, as it would be implemented into another project anyways. It's fine if you just hard code the image url into the code and put your focus on the image processing
Recommended Skills
Employer Feedback
“He delivered well documented code for a project that not many were able to, in a timely manner. That being said, it was also easy to talk with him, and would definitely hire again in the future. ”
pixobit, Philippines.
Top entries from this contest
-
TheKingOfCode Brazil
-
TheKingOfCode Brazil
-
emircanerkul Turkey
Public Clarification Board
How to get started with contests
-
Post Your Contest Quick and easy
-
Get Tons of Entries From around the world
-
Award the best entry Download the files - Easy!