Using ICC Profiles in as3/flex - actionscript-3

I am creating a flash site where someone can customize a canvas. Then they can preview this canvas on the product. Because of the way monitors display colors, we wanted to try to embed an icc color profile in the previewed image so the user can get a better idea of what the end product will look like. For instance, if they upload something with a really bright red, the preview will show this in a more realistic color to what can be printed on the canvas. This preview is generated on the fly in a flex application using as3.
How I could go about doing this? Is this possible? I realize I could fake something by manipulating colors in flash, but the printer that prints the canvas is able to export an icc profile that will be more accurate. So, I'd like to use that if possible.

Related

How to Blur background behind the UI only unreal 5

I'm new to Unreal game engine,but have some idea about how things works. I recently working on an archviz project and want to add some UI blur effect behind the UI element only. Here are some reference video that I'm talking about. I can't upload screen shot because there are some server problem while uploading photos.
https://youtu.be/bOQAAE2Hfhs
You should use the UMG Background Blur widget: https://docs.unrealengine.com/5.0/en-US/using-the-background-blur-widget-in-unreal-engine/

Save picture of current screen to disk AS3

I want to add a button to my flash game (AS3) and on click it saves a picture of the current users whole screen and saves it to pictures/disk automatically, but I don't know how to do that, I know how to add the button to the UI and add a click event and all that, just need to know how to make it save a picture of the current screen to disk (doesn't have to be just the flash screen, can be the WHOLE screen of the users pc, either way works!)
I was on my way writing you the answer but I found this post have a better explaination: Is it possible to capture the screen and save the image in actionscript 3?
"Yes, it's possible.
Draw some display object to a BitmapData (the stage, for example) and crop it if neccesary (the second param of BitmapData::draw will help you out here).
Then, convert the raw pixel data to JPEG or PNG using some encoder. I'm sure up to this point, this is what those tutorials will explain you how to do.
Now, the third step is different but simple enough. Instead of sending the image data to a server side script, use a FileReference object. Since Flash Player 10, it has a method called save, that prompts the user to save a file locally.
Since this is a desktop app, you could also make it an AIR app. This will give more direct access to the file system and other features, in case you need them."

Create a GIF from an HTML animation

THE PROBLEM
I've created an HTML animation using google web designer, then I need to export my project as a GIF. Google web designer doesn't provide any tool to export as GIF so:
WHAT I'VE TRIED
I've tried to record my screen (using quick time player for MAC) crop and cut the result and then convert the MP4/MOV file to the GIF.
CONCLUSION
I'm not very satisfied with the result, the resulting GIF is very big (HTML is like 20KB and the GIF is 500+KB ) and the quality is mediocre.
Can someone provide me with a better solution or something to improve the quality of the result?

How set wallpaper in flash as3?

Who can help me to make the photo On the desktop ..For example, to save the image in the stage in Flash and make it a background in desktop(in flash function to make an image as wallpaper)or background in phone Using the button thanks..
It's not possible to set an image in flash to become your desktops wall paper. You can adjust the images size and parameters via flash and export, then you will have to set it as our desktop wallpaper manually.
For the desktop platform, you can encode the image into an OS-readable format (PNG, JPG, others depend on OS) and call FileReference.save() with the encoded ByteArray. This will invoke the OS-specific dialogue of "Save as" where the user will have to input the proper name for the file with its extension (if OS requires an extension), so you will have to hint the user of what type of file he will receive. For this, you can name your button "Save as PNG", for example. A code example is here in this question.

How to detect the color of an image using AS3 and adobe air?

I'm having a hard time finding any data on how to detect the color of an image taken from a phone's camera using adobe air. The idea is that the user takes an image and then the app (that uses this code) detects the color of the item the user has photographed by placing a cursor on top of it.
So does someone please tell me how is this attainable in adobe air and action script 3.
many thanks in advance!!!!
You can use getPixel or getPixel32 from BitmapData() enter link description here
Than you can convert it to HEX if you wish.