This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set resolution options | |
var rp = [72,150,300]; | |
// Set EXPORT presets | |
app.pngExportPreferences.exportResolution = 72; | |
app.pngExportPreferences.antiAlias = true; | |
app.pngExportPreferences.pngQuality = PNGQualityEnum.MAXIMUM; | |
app.pngExportPreferences.pngColorSpace = PNGColorSpaceEnum.RGB; | |
app.pngExportPreferences.pngExportRange = PNGExportRangeEnum.EXPORT_RANGE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = 'http://server.com/path'; | |
$data = array('key1' => 'value1', 'key2' => 'value2'); | |
// use key 'http' even if you send the request to https://... | |
$options = array( | |
'http' => array( | |
'header' => "Content-type: application/x-www-form-urlencoded\r\n", | |
'method' => 'POST', | |
'content' => http_build_query($data), |