How to change the background of the image after capturing from camera using imagepicker? - flutter

I am creating new app with image capture. For example, if i capture a person with green background image, after capture i need to remove the green background and add another background image.

Do it the same way as on other platform. You can think of it like this.
replace the green pixel with any colour with alpha (opacity) = 0.
put the image on top of your background photo.

Related

How to use animation as background image

enter image description here
Taking a look at that picure, animation is use as background in the left and on the right side of the page, an image is used as the background. Please hw can i go about using both backgrounds on one webpage.

Displaying an image over another image along with transition

I have a welcome screen which displays an image using label as background.
Now, I want to and I'm trying to display an icon upon this background image with transition.
So, once the icon transition over the background image is done, I should be able to see the background image and the icon displayed in one screen.
Is it possible? How should I do it?
This is possible in Codename One using layered layout, I don't recall if we added it to LWUIT or later on as we forked to Codename One.
Failing that just set the image as the bgImage and then just place the other image on top.

How to add effects to UILabel

I've been searching for that many time ago and I can't find a solution. I have a animated label that crosses the screen of the iPhone (like the title of a song does in the Music app.Well, I'd like to add the "fade in/out" effect like the music app has. The easy solution is open Photoshop and create this simple image and then add it up to the label. Well, under the label I have an image with black backgroud. The image can be zoomed in and then the image with the fade in/out effect can be seen, and it doesn't look well. Is there any possibility to do this programatically? Thanks
PD: if there's another possibility rather than doing this programatically, I'll apreciate the answer as well.
Edit: Here's the image capture of the problem
I'll approach it in a non-programming way.
The image reference you gave us for the Music app you seem to be emulating has a different gradient than the one you drew in the second image.
If you notice in the image, the gradient has not fully completed its transition from clear to black before the words are cut off. I would say in photoshop run the gradient from clear to 80% alpha black and then draw a 100% alpha black rectangle to finish it off as per image. The white is just showing you what it looks like without the black background.
Now as for the zooming. Correct me if I am wrong, but it sounds like you want a viewing window for the image so that once you have zoomed into it, it will fade to either side, but still be viewable/movable in the center. This means that the image has to be zoom-able, but once you have zoomed the "fade in/out" should not be zoom-able.
Just make sure you aren't scaling the fader by keeping it separate from the scrollView of your background image.

How to mask image with color in iOS?

Basically I want to remove the background color of image from image.
that why I want to mask my image with clear color, it can make the image transparent.
or do we have any other way to clear the backgrund color of image and get transparent image.
Create a new image with by masking background using CGImageCreateWithMaskingColors. Specify the background color range(RGB) values. That would be enough to create background transparent image.

Change background color of the tile programatically?

I understand the background is actually an image (WideLogo.png/SmallLogo.png) and specified in the app manifest file. But is it possible to swap these with a new set of images programatically? Based on the information displayed on the tile, I want to change the background color of the tile.
You cannot edit the app manifest to change the default color. However, you can render an image with the appropriate background color and content then set it as tile.
For more details on how to achieve that, read: Windows 8 Metro App - Render PNGs
I don't think you can change the background color of the tile programmatically. That's set in the manifest for the default tile, so that you can overlay a transparent background image for a predictable default look for your tile.
But you can send tile notifications from your app while running, and these can include images and text.
Here's a link to the MSDN docs on tiles and notifications:
http://msdn.microsoft.com/en-us/library/windows/apps/hh779724.aspx
and to the catalog of tile templates you can use:
http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
One way you could implement this is to programmatically create a tile image with the background color and text you want, and then send that as a tile notification.