I would like to be able to import image, edit and export as JPEG

Posted on 2011-04-20
Last Modified: 2013-11-11
Hi, experts

I wonder where I can find example of building a flash piece that regular people can use SWF to select multiple images from desktop, import them to stage, add text and be able to push a button and export to a JPEG file. In a more fancy way, be able to adjust the quality and preview it before export. I am not familiar with AS3 and is it possible to build in AS2 ?

Here is a really nice example to export video but it is in AS3

Please advises


Question by:mingchih
    LVL 17

    Assisted Solution

    This is absolutely possible but comparatively easier in AS3.0 than AS2.0

    As in AS3.0 you will be able to use the JPGEncoder classes to export image as jpg with defined quality.

    There are various applications which does these things, of them I like this the most - an online photoshop -

    In your case use FileReference to load an image, use text related APIs to insert textFiled with some text and then export the whole as JPG using the JPGEncoder.

    Warm Regards
    Deepanjan Das

    Accepted Solution

    Thanks, Deepanjan Das....  is this free ? this is the best online graphic edit software ever
    LVL 17

    Expert Comment

    Free to use and save I guess. but might have some liscencing if its APIs are used.

    Warm Regards
    Deepanjan Das

    Author Closing Comment

    Solved my problem

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now