Questions tagged [image-masking]

132 questions
0
votes
2 answers

Cannot figure out how to get css/js masking code to work in meteor

I have found example code and I thought sweet I just have to plug it in, but I am new to Meteor and I am hopefully just making simple naive mistakes. I thought that jquery was already included in Meteor and that if I use $ or document.getElementById…
smuggledPancakes
  • 9,881
  • 20
  • 74
  • 113
0
votes
1 answer

Mask two images using fabric js

Is it possible to mask two images using fabric js? For example: I have a colored shape(heart). I have another images and I want to mask it over heart such that that new image is only displayed as heart. I can move the second uploaded image around…
Nauman
  • 118
  • 1
  • 13
0
votes
1 answer

Snapsvg create hole in rectangle using mask

Is it possible to create for example circular hole in rectangle element in Snapsvg? I tryed to use white and black elements and mask function but i cant figure it out. Most results was inverted (i saw only circle with color of rectangle) or no…
astromedia
  • 75
  • 7
0
votes
1 answer

Different website logos for different incomming (masked) urls

some help would be great! Domain ABC1.com shows an image ABC1. How can I make it so that it shows image ABC2 when domain ABC2.com forwards, with masking, to ABC1.com? Basically, the website should change its branding based on the domain name from…
Sach
  • 75
  • 1
  • 10
0
votes
1 answer

Cutting an SVG Mask into an image

I'm having a problem with a new website I'm developing. It's the first time I'm using SVG's. Basicly I need to cut a circle that is always centered in the page out of my image to show the image under the element. I have tried working with my…
JonasB
  • 328
  • 2
  • 11
0
votes
1 answer

How can I apply an alpha mask image in TransLoadIt?

Using ImageMagick on the command line I can use the composite and compose options to use one image to replace the alpha mask of another image. Is this possible using transloadit ? I see an option to add a watermark but nothing related to replacing…
Dobes Vandermeer
  • 8,463
  • 5
  • 43
  • 46
0
votes
1 answer

HTML 5 masking and clipping on one image

I have a navigational div (div A) running horizontally with a div (div B) z-indexed above it that will contain a cross fading series of background images using jquery to set background-image property every 5 seconds. However, I need the section in…
DMSJax
  • 1,709
  • 4
  • 22
  • 35
0
votes
0 answers

How to create an image mask and render a texture to it in cocos2d

I am writing a game in cocos2d v3 which has platforms whose shapes can be manipulated by the user. I know every point along the edge of the platform, and want to render a texture just within the shape of the platform so it will appear solid. I know…
theideasmith
  • 2,835
  • 2
  • 13
  • 20
0
votes
0 answers

Jquery animate with css masking

I have been looking into animating an image background while using an image mask. I just dont know if its possible to use the image mask WHILE animating background color Example here - JSFiddle What ideally i am looking for is to Have the…
user616
  • 783
  • 4
  • 18
  • 44
0
votes
1 answer

How to use mask and combine 2 images into 1 using imageMagick?

I have a JPEG template: I need put a JPEG image inside that grey mask and save it as a JPEG. (so resize the jpeg, and put it where the greay mask is). Is there a way to do that using php and imagemagick extension ? Regards
yarek
  • 11,278
  • 30
  • 120
  • 219
0
votes
1 answer

RGBStroke - Image pixels instead of color (iOS)

I am implementing a image mask kind of feature in iOS similar to what is offered in the Blender app with two images. Here is my touch move code :- - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches…
Soumyajit
  • 435
  • 1
  • 9
  • 19
0
votes
1 answer

Masking an RGB Image with Binary Mask

I have an RGB image (M x N x 3 matrix) in MATLAB that I read in. I also have a Binary mask (M x N matrix) for the image, which is simply 0 for some region of interest and 1 everywhere else. I'm trying to figure out how to mask the RGB image with…
Duane
  • 3
  • 1
  • 1
  • 3
0
votes
1 answer

Converting location into binary masks and filtering the image with such masks

Say that we have an image which pixels were labeled 1 and 2. How can we do the following in MATLAB? Convert the locations of 1s and 2s into binary masks Filter the image with those masks Thanks.
Simplicity
  • 47,404
  • 98
  • 256
  • 385
0
votes
2 answers

UIImageView masking creates memory warnings

I have 4 UIViews each view contains around 16 UIImageViews. And i am applying mask to all the UIImageViews through below code -(void)setMask:(UIImage*)maskImage forImageView:(UIImageView*)imageView { CALayer *mask = [[[CALayer alloc] init]…
DipakSonara
  • 2,598
  • 3
  • 29
  • 34
0
votes
2 answers

Create 1 image from masked image in ios

I have a image and i mask this image with another image to make shape. I just want to change the view background color of Masked image. I am using [UIColor colorWithPatternImage:maskedImage]; But its not working. Please suggest me how to merge or…
San007
  • 762
  • 1
  • 9
  • 30
1 2 3
8
9