PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-12-29 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 5,037 This week: 2All time: 507 This week: 404Up
Version License PHP version Categories
swf_to_jpg 1.0.0Freely Distributable4.0Graphics, Flash
Description Author

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
Name: Gurdeep Singh <contact>
Classes: 5 packages by
Country: India India
Age: ???
All time rank: 37422 in India India
Week rank: 359 Up33 in India India Down
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  
 0%
Total:5,037
This week:2
All time:507
This week:404Up
User Comments (1)
didnt work
6 years ago (sfdhdfgdfg)
0%Star