I am working on a Xamarin IOS application, testing iPhone5 version 8.1.3, where I let the user select images using ALAssetLibrary. These images are sent to the server and processed. There is a minimum size for these images, so I need a full image.
I have a little problem getting full resolution images. First, I check the size of the images with asset.DefaultRepresentation.Dimensions . After that, I get an image with asset.DefaultRepresentation.GetImage() . Now I have three different cases.
- image without filter
- image made with filter
- an image taken without a filter and a filter applied to it later
In all three cases, the dimensions give me a value, such as h: 3500 w: 2800. This is exactly what I need. When I get images in the first and third cases, it gives me an image of the same size. But in the second case, it gives me an image with something like h: 910 w: 640; This will be the same size as asset.DefaultRepresentation.GetFullScreenImage() .
Is there a way to get a full size image when creating an image using a filter?
EDIT
Also, when I take a photo with a filter, and then remove the filter from the image, I get an image with h: 3500 w: 2800. This means that the original image must be present. I just need to know how to get this.
source share