I want to add a new photo to picasa server using picasa API in as3. Can you tell me the HTTP request form and how to create the binary image data for the request.
API v2.0 directory: https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol
Thank you for your help.
You can get binary data for an image like this.
var bd:BitmapData = new BitmapData(myImage.width, myImage.height, true,0xFFFFFFFF); bd.draw(myImage);
You now have the raster data 'myImage' in var 'bd'.
Source: https://habr.com/ru/post/1792966/More articles:Script to convert html markup to valid XML - xmlКак установить приложение по умолчанию для xdg-open на callto: или skype: URL? - linuxAdding AutoMapper Type Matching Rules for Generic Types in a WCF Contract - genericsPrint return address using format string - cAdded console output for "Build other projects" in hudson / jenkins - continuous-integrationHandling asynchronous sockets in WinSock? - cMS Visio 2007: How can I get power at both ends of a relationship? - visioPerl Reference (online) - perlRecommendations for storing, modifying and retrieving user reputation data - phpIs wxPython good for a hardware simulator? - pythonAll Articles