dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Creating a Flash app to create JPG files

Hybrid View

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    1

    Creating a Flash app to create JPG files

    Hey Guys:

    I wondered if this was actually possible in flash.. or better yet, if it was even done already.

    I wanted to see if I could create someting in flash that would create a JPG with some information.

    You figure when the flash file starts:

    It lets you select from three 'templates' (400px by 400px files with diff backgrounds)

    Once you have a BG selected, then you would wind up having a text field that you could type information in.

    Once you click on Create, it writes a JPG file to your deskptop with the 400px by 400px background and the text on it.

    Is this something that is done already somewhere to look at as a reference?

  2. #2
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    Writing out to binary files in special formats (such as jpegs) is pretty complex. It's not something that Flash can do on it's own.

    You could probably build the interface for controlling the composition in Flash, but ultimately the jpeg creation part would have to be done with either a C application or something like PHP.

    I'm not even sure if you can do this without licensing the JPEG format from the JPEG (Joint Photographic Experts) group.
    Your best bet is probably to look up the image manipulation libraries that PHP, ASP or whatever you choose can use, or to see if you can find a C developer to help you put something together.
    Sam



  3. #3
    Senior Member
    Join Date
    Sep 2000
    Location
    New Zealand
    Posts
    271
    I'm looking to do something similar too.

    Does anyone know of a .net binary to image output class?

    cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center