PHP Classes

SWF to JPG: Render Flash canvas image as JPEG

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 5,076 All time: 527 This week: 524Up
Version License PHP version Categories
swf_to_jpg 1.0.0Freely Distributable4.0Graphics, Flash


This class can be used to render an image drawn on a Flash canvas movie.

A Flash canvas movie displays a drawing area on which the user can draw a picture with brushes of different colors and and thicknesses.

When the user wants the save the drawing, the Flash movie sends the list of the brush strokes to the server.

The class receives the list brush strokes and generates a JPEG image file that represents a copy of the user drawing.

Innovation Award
PHP Programming Innovation award nominee
January 2008
Number 4

Prize: One downloadable copy of Komodo Pro
Flash applets are often used to provide more interactivity to Web pages. They can be used implement interactive applications, for instance, to let the users draw graphics by hand. This package comes with a Flash applet that lets users do that.

When it is necessary to save the user drawing, the Flash applet sends the information about the drawing strokes to the server. The PHP class processes that information and generates a JPEG image with the graphics drawn by the user, allowing the painted image to saved.

Manuel Lemos
Picture of Gurdeep Singh
Name: Gurdeep Singh <contact>
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 38622 in India India
Week rank: 280 Up21 in India India Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login HTML file main1.html Data Converts Flash (SWF) image to JPG image
Accessible without login Image file main1.swf Data Flash file to be embedded in main1.html
Accessible without login Plain text file swfpage.php Example Captures the data from Flash and pass it to PHP class. this is the test script
Plain text file SWFtoJPG.php Class Class to take SWF data and use GD library to convert Flash image to JPG

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:527
This week:524Up
User Ratings User Comments (1)
 All time
didnt work
13 years ago (sfdhdfgdfg)