Xamarin Forms photo Pan/Scale/Crop plugin?

Question!

I'm making app with using XF pcl.

To make photo viewer/editor function, you should add Pan/Scale/Crop. Is there good plugin that somebody already have done for it?

Of course I can make my own but It's very common behavior so I'm curious.

Thanks.



Answers

You might want to try this, this library has a lot of different transformations. https://github.com/luberda-molinet/FFImageLoading

https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/



In C assign values to the array using the indices:

ptr_one.arguments[0] =  "/bin/pwd";

Also:

const char name[5] = "-aefa";

is wrong. The array needs to be one item bigger for the 0-byte at the end of the string. Make it 6 items long, or even better:

const char * name = "-aefa";


What you need is to define Media Queries. Media queries are like css triggers that defines in which resolutions certain rules will be applied.

.div img {
    float: left;
}

/*This will cause the img receive float none rule when screen is smaller than 768px*/
@media only screen and (max-width: 768px) {
    .div img {
        float: none;
    }
}

There is a complete guide you can check out right here.



This video can help you solving your question :)
By: admin