php - Is it possible to apply a mask on an image using jquery/javascript/html5? -


i looking way cat part of image, using image mask.

i don't know if @ possible using web technologies. willing of using libraries (jquery, php, javascript) or available on market that.

in general, want create themes use resources don't have cut in order make them in different shapes (rectangles, circles etc). onlywant able apply mask them on fly.

i aware of imagemagick® cant figure out way on how use have such results without making code ugly.

if don't have clue on masking is, here's link.

if understand you're talking juxtaposing images. if so, can encapsulate div another, this:

<div id="div1">  <div id="<div2">  </div> </div> 

and put image css background div2 , mask div1.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -