Skip to content

Instantly share code, notes, and snippets.

View fraxedas's full-sized avatar
😀
Working from Home in my dream job

Oscar Fraxedas fraxedas

😀
Working from Home in my dream job
View GitHub Profile
@nicwise
nicwise / scale.cs
Last active November 13, 2018 08:17
Scale and Rotate an image in iOS / MonoTouch, using the EXIF data
//MIT license
public static UIImage ScaleImage(UIImage image, int maxSize)
{
UIImage res;
using (CGImage imageRef = image.CGImage)
{
CGImageAlphaInfo alphaInfo = imageRef.AlphaInfo;