Linked Questions

-1 votes
1 answer
195 views

I would like to crop an image so its content fills another image and it removes the alpha parts. For example, I have this image as the shape I'm expecting to keep from any other image: Now if I take ...
Rob's user avatar
  • 4,253
0 votes
2 answers
101 views

I have a UIImageView that is basically a partially-opaque, blue oval. I allow the user to manually scale the height and width of the oval. After the oval's frame has been set to the desired size, I ...
user1007895's user avatar
  • 3,965
15 votes
2 answers
32k views

I'm trying to create a camera like Instagram where the user can see a box and the image would crop to that box. For Some reason the camera doesn't go all the way to the bottom of the screen and cuts ...
NSDavidObject's user avatar
12 votes
4 answers
11k views

I'm working on an app that can change the borders or a rectangular UIImage. The borders will vary, but will look like the UIImage was cut out with scissors, or something to that affect. What is the ...
Steven Baughman's user avatar
8 votes
5 answers
7k views

Can we set below shape on image with UIImageView. Any idea! Thanks
kb920's user avatar
  • 3,089
2 votes
3 answers
4k views

I am using this code proposed by Bartosz to add a mask to an UIImageView. It works fine. #import <QuartzCore/QuartzCore.h> CALayer *mask = [CALayer layer]; mask.contents = (id)[[UIImage ...
Scholle's user avatar
  • 1,521
8 votes
1 answer
2k views

Duplicate so don't negative my reputation. My mask image is : My output is : - (UIImage*)maskImage:(UIImage *)image withMask:(UIImage *)maskImage { CGImageRef maskRef = maskImage.CGImage; ...
Mani's user avatar
  • 1,841
4 votes
1 answer
2k views

I have one Imageview that contains the Image . And one Mask Shape that contains shape of rabbit. I have one code that gives the below result. - (UIImage*)mynewmaskImage:(UIImage *)image withMask:(...
Milan patel's user avatar
1 vote
1 answer
2k views

I am making an application where I have to show 3 images in a single screen, and when User touch one image then that Image should be shown by Animating and resizing. So for 1st Step I did Masking of ...
VarunJi's user avatar
  • 708
0 votes
1 answer
1k views

After searching numerous sources on how to mask an image in Swift, I've found many that utilize UIImage rather than UIImageView. It's getting quite confusing because they are almost similar yet they ...
theflarenet's user avatar
1 vote
2 answers
658 views

I want to display thumbnails of various size images in a UIImageView. If the image is too big to fit in the UIImageView, I want to only display the amount of the photo that fits in the UIImageView, ...
rfj001's user avatar
  • 8,558
4 votes
2 answers
1k views

I want to apply a chat bubble mask to an image view, and I would like the mask image to scale to fit in the frame of the image view. This is the code I am using to create and apply the mask: let mask ...
NewShelbyWoo's user avatar
2 votes
2 answers
372 views

I have a UIImageView and i'd like to make a circular region in the centre of the image view transparent so that when an image is passed to the image view, the image seems to cover all of the image ...
SasukeIsCool's user avatar
0 votes
1 answer
753 views

what I was trying to do was to make a UIImageView darker so that the buttons and views on top of the image result. I wanted to give it the effect that is given when in ios6 a user shares using ...
Alessandro's user avatar
  • 4,100
-1 votes
1 answer
161 views

Apparently there is an image underneath another image, so is the super image (the one with the mailbox icon) just designed to be transparent in Photoshop, or Gimp, etc, or they used some other cool ...
Devfly's user avatar
  • 2,505

15 30 50 per page