I want to make loader, and designer send it to me in Figma's Json, but l want to convert it into Lottie-available json animation.
Maybe you know some ways how to do it right with myself or with designer help?
Thank you so much!
Related
I'm using this component https://github.com/rasmuschristensen/XamarinFormsImageGallery to take a picture with camera and display it.
I have a problem when I want to show images from file, they don't show. Any suggestions?
Thank you in advance
Ok, I understood the problem. When at the beginning I'm loading in the view model all data and the control can't show anything because it doesn't recognise changes.
Then I bind the view model and then the data.
I'm drawing some lines in an InkCanvas which I'm converting to a BitmapImage. I want to merch this image with another BitmapImage, but I can't find any way to do this in UWP. Does anyone know a good way to do this?
I suggest you to use WriteableBitmap with WritieableBitmapEx instead of BitmapImage. Then simply use WriteableBitmap's new Blit() function with None as BlendMode and you should have the desired effect.
not sure if this is possible can you add a jpeg or another image to a form created in the vba section in excel? If so would anyone know how to go about doing this...
You are looking for the UserForm object, which has a picture property. There's a bit of info here on how to paste an image in a User Form control which you may find helpful. Best of luck!
I am looking to find a way to create a raster image of a canvas in windows phone 7. I want to be able to either save the image or share it (MMS, email, ect). I am just starting to learn C# and about Silverlight, so this is uncharted waters for me.
Thank you,
Doc Haven
I am not sure if this is the best way to go about this, but this is how I have found my solution to my own problem:
One of the constructors for the WriteableBitmap class allows you to pass it a UIElement and a Transform such that the call new WriteableBitmap(canvas, null); would create a WriteableBitmap from the Canvas. I later set my Image source to that WriteableBitmap.
I do hope that this helps anyone else that may come into this issue in the future!
Thank you,
Doc Haven
checkout the RenderTargetBitmap class, you can create a bitmap image of any visual element then do what you want with it.
Seen a good charts plugin I want to use:
http://www.jqplot.com/tests/stackedTests.php
But for my visitors, they may want to save this as an image (via right click, copy as image menu item) or alternatively a button that says save as image or something similar.
So is it possible to save the canvas in any given state as an image file?
I think toDataURL could help you :)
If you are willing to use a pre-made library, you can try using Canvas2Image.
Otherwise there are a few Canvas methods that Canvas2Image wraps around and explain in more detail in the above site, namely the toDataURL method in the Canvas object that returns the data base64 encoded in the image format that you require. It's not 100% cross-browser, I think, but it's the "right" way of getting it.