![]() Works strictly with jpg, png, gif, tif and bmp files. 402 : impossible to fetch the image from $_FILES (usually a local URL).401 : impossible to fetch the image from URL (usually a local URL).Here is the list of the differents errors of the webservice : exif with the value true Default value is false.However, these data can be keeped while compression by specifying the following parameter in GET method : Since Feb 2017 (v.1.4.21), EXIF data are remove by default, reducing file size. Default value is 92įor having a good image quality, please remain above 90 To do so, just add the following parameter in GET method : Since July 2015 (v.1.4.2), you can now specify your optimization level for JPG compression. the error description (parameter error_long).the date when the file will be deleted from the server (parameter expires). ![]() the percentage of gain (parameter percent).the optimized file size (parameter dest_size).the original file size (parameter src_size).the url of the optimized picture (parameter dest).the source URL (if using GET or POST method) (parameter src).The output array contains several informations, such as : ![]() The webservice will return an array of informations about the compressed image (see below) API output For a standard call, with a JSON response, you just have to call this url and provide the image attribute like one of these options below : ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |