User Tools

Site Tools


merkalt:picture_upload

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
merkalt:picture_upload [2009/03/28 16:20] eugenemerkalt:picture_upload [2009/03/30 13:34] (current) daruma
Line 1: Line 1:
 When flash will create custom picture it will send it to "jpg_encoder_download.php" with parameter "name" (name=navnelapper.jpg in test variant) When flash will create custom picture it will send it to "jpg_encoder_download.php" with parameter "name" (name=navnelapper.jpg in test variant)
- * Method: POST + 
- * RequestHeader: "Content-type", "application/octet-stream" +ATTENTION path to php-script is relative (i.e. it must be in same folder with flash right now, if needed it's possible to give any other path in current domain) 
- * Format of picture: jpeg (.jpg or .jpeg)+ 
 +* Method: POST 
 + 
 +* RequestHeader: "Content-type", "application/octet-stream" 
 + 
 +* Format of picture: jpeg (.jpg or .jpeg)
  
 there's a sample of php-script (found on site): there's a sample of php-script (found on site):
Line 17: Line 22:
 } }
 ========================================== ==========================================
 +link to flash:
 +
 +http://merkalt.almeydahost.com/site_new/pic_loader.html
 +
 +
 +link above if you face any questions:
 +
 http://designreviver.com/tutorials/actionscript-3-jpeg-encoder-revealed-saving-images-from-flash/ http://designreviver.com/tutorials/actionscript-3-jpeg-encoder-revealed-saving-images-from-flash/
-link above if you face any questions+ 
 +Image data, received from flash, saved to http://merkalt.almeydahost.com/site_new/ with a name navnelapper.jpg and resolution 600x600 DPI.
merkalt/picture_upload.1238257254.txt.gz · Last modified: (external edit)