ActionScript 3.0 :: Convert RGB Image To CMYK?
Feb 9, 2010Is there any library out there that does this??
View 14 RepliesIs there any library out there that does this??
View 14 RepliesI need to create a color formula converter that goes between HEX, RGB, CMYK and Gray Scale.
With wonderful help from members of this site, I have the HEX to RGB to HEX portion working. Particular thanks to JSEBRECH on color formula conversion and previously to GIBBERISH for helping me master updating arrays from changed input text fields, and with other important help from DEADBEAT, VREELPOWER and PAEREZ. You have all been very helpful and generous.
how to convert either HEX or RGB to CMYK or to Gray Scale?
I have an AIR app that saves JPEG files to the hard drive. Currently, the jpegs are in RGB colorspace, but I am wanting them to be saved as CMYK jpegs. Is this possible in flash? If so, does anyone know of any libraries or examples that can help me with such a task?
View 1 RepliesI'm currently working on an image editor in Flash Player, and I need to be able to export CMYK images to my server. I'm completely new to color profiles and the like, and I was wondering how I could accomplish this. I am pretty sure all images in Flash Player are ARGB, so is there a way to convert the values properly?
View 1 RepliesI am building a flash widget for uploading files, but I want to display the thumbnail with html/js, once I have the file loaded via Browse into flash and have access to the raw data, is there a way to convert that to a base64 encoded dataURL so I can send that back out to JS to create a thumbnail like ?
View 1 Replieswe use Flex Charts to generate reports and want to be able to have these reports emailed out on a scheduled basis. To do that, we need the SWF to run (as if in the browser) to fetch the report data and then have its contents converted to PDF or a static image. This needs to happen server side with no interaction from a user. Currently we solve this via an AIR app that can read the report file, but a static image or PDF would be much more desirable.
View 2 RepliesCode:
function f_choosePhoto(photoNum)
{
var photos:Array = ["photo0","photo1","photo2"];
[Code].....
I've cobbled the AS together from a couple of seperate tutorials, and if I replace "new this[path](560, 380);" with "new photo1(560, 380);" it works.
I wonder if this is possible using Flash or any of the other Adobe products.
[Code]...
Is it possible to convert the text above into an image? Generate dynamic images isn't problem but generating dynamic images which takes html tags into count is for me problematic. (the <br /> shouldn't be displayed instead it should generate a new line)
So I was wondering if Flash had some ideas how it can be done...
I want to use ffmpeg to convert swf to png ,and I can't extract image from some kind of swf like: [URL] and I use this code in bat file(1.bat)
cws2fws Movie1.swf 3.swf
ffmpeg -i 3.swf -f image2 -vcodec png tese%d.png
I only want to convert swf to image.
how to change a swf to gif image?i used publish settings i got the gif image.there is animation playing in swf,but in gif instead of that animation some boxexare cuming.is there any other method to do that?
View 2 RepliesI'm working on somewhat of a templated system where I've got a SWF file as a template and then people upload their own images and place them in the certain masked areas of the SWF to create like a scrapbook page.
My question is this, what would be the best way to convert those images to an image that people can save and thus print? Would I have to do this while their viewing the SWF or is there a way to generate an image with some sort of command line tool that I'd pass the swf the user's settings to make the SWF unique each time?
i am having swf with multiple loaded swf.now i want to convert my some swf to jpeg not all.
View 2 Repliesin AS 3.0. The requirement is, user needs todraw something and take a screenshot or in the PDF format fromflash swf by clicking a Save button[Save button will be in the sameflash file]. Is it possible in AS 3.0 with out any plug-ins?
View 6 Repliesconvert my vector images to SWF files to play in Flash 9.0/AS3. Currently, all I can find is software to convert to AVMI Movie and I need AVM2.
View 1 RepliesI'm giving users the ability to upload an image to my Air app, then displaying this image in an image control. But I need to allow for PDF uploading in the same manner, so I need to convert the PDF to an image. I only care about the first page of the PDF they upload for now. What I'm doing is:
1) User browses for a file with the file reference control
2) User chooses the image or PDF to upload
3) I encode said image to base64 and store it
4) I then load from that base64 with something like:
[Code]..
Is there any way to convert a movieclip to an image like jpg/png etc?
View 2 RepliesFlash will be receiving a string from the web, either Javascript or query string from the URL(which I'm comfortable with). GOAL: Use that string as a byte array and convert it to bitmap data and display on the screen.
MY PERCEPTION: Use ByteArray and readBytes (I've worked with neither before) to parse the string. Then convert that into Bitmap Data and draw the bitmap on the stage.
I am printing around 50(swf) pages in flash AS2.0. In printer we can print the movie clip only. But i need to convert the movie clip in to image and that image needs to be printed instead of movie clip.
View 1 RepliesI'm trying to convert an image viewer into an nav bar. The images are blurred and as the mask rolls over, the sharper image then becomes visible in its place. All the pics are in one MC. I want to add AS to make each image at on release go to a separate url.
View 3 RepliesI need to take a .swf Flash file, ideally from a URL (but I can read the file from disk also) and create an image preview of it (png, gif or jpeg is fine).I am using Adobe Coldfusion 8 so I'm looking for a Java solution. I need to get the first frame of the Flash movie only.
EDIT: I need to do this on the server in Java/CF at runtime - it's got to be automatic - I'm not looking for screen-grab software.
I'm trying to convert an image in my assets folder
"./assets/image1.png"
to type Object. It needs to be Object because that's what the function I'm using it in is expecting.
Any ideas what would be the simplest way to do this?
I'm trying to make a tile-based AS3 game that uses PNG images as the base for maps that loads them from the library and converts the data to an array with each pixel of data being an individual tile. Essentially, if I had a 128x128 pixel PNG with say, green pixels being converted to "GRASS" in my array, I could then cycle through the array and add tiles to the map movieclip accordingly. I've looked at the ByteArray class and I can't seem to decode the data into a usable format.
View 1 RepliesI want to convert pdf file into an image in felx, i dont want to use any server side language, just from flex AIR
View 1 RepliesHow can I change this so it saves the image as binary data. This code works fine but when the image is created the file size is too big.
Code:
import flash.display.BitmapData;
import flash.geom.Rectangle;
import flash.geom.ColorTransform;
[Code]......
How to convert an image to a button through actionscript 2 (flash mx 2004)? Is it necessary to convert it to a button or there is an event so that if someone clicks on an image, he will go to another frame. I load images into my flash through an xml file and i need an event so than if someone clicks on an image, he will go to another frame.
View 1 RepliesFlash will be receiving a string from the web, either Javascript or query string from the URL(which I'm comfortable with). GOAL: Use that string as a byte array and convert it to bitmap data and display on the screen.MY PERCEPTION: Use ByteArray and readBytes (I've worked with neither before) to parse the string. Then convert that into Bitmap Data and draw the bitmap on the stage.
View 4 RepliesI want to convert bitmap data to an image file like jpg or png file in AS3.
View 1 RepliesI am looking for a script, (modes ?), pixel bender ? that allows me to convert an movieclip/image into 2 colors (black and white). I don't want grey scales, but really 2 colors only picture.
View 1 RepliesI need to do this conversion so that I can determin the drag drop colour a puck lands on.
possibly involving:
ImageSnapshot
BitmapData
This would be in Flex 4
I need a help in AS 3.0. The requirement is, user needs to draw something and take a screenshot or in the PDF format from flash swf by clicking a Save button[Save button will be in the same flash file]. Is it possible in AS 3.0 without any other server-side program?
This is very urgent. Please let me know whether this is possible or not.