You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.
The current documentation/tutorial doesn't make it clear to me. I had assumed the string is base 64. But trying out this tool/library and comparing to other base 64 encoding/decoding utilities output, the string produced by to_string() is not standard base 64 encoding.
I did come across one issue related to base 64 searching this Github project:
Did I find some bug or is the string encoding not base 64 but some related variant? If a variant, why not use standard base 64? It would be nice to interoperate actions performed with AutoPy with other tools/utilties (e.g. decode output from AutoPy bitmap.to_string() elsewhere, encoded string elsewhere to load into AutoPy as bitmap). And if variant, is there a way to convert the to_string() value to standard base 64 and vice versa? So as not to need to do it separately/externally with some Python base 64 module.
FYI, I tested this with a PNG I saved externally with image editing tool that I loaded into AutoPy as well as a saved screenshot captured by AutoPy (saved with PNG extension), both on Windows 7 64-bit.
The text was updated successfully, but these errors were encountered:
bmp.to_string() and bitmap.Bitmap.from_string(string)
http://www.autopy.org/documentation/api-reference/bitmap.html
https://github.com/msanders/autopy/#readme
The current documentation/tutorial doesn't make it clear to me. I had assumed the string is base 64. But trying out this tool/library and comparing to other base 64 encoding/decoding utilities output, the string produced by to_string() is not standard base 64 encoding.
I did come across one issue related to base 64 searching this Github project:
#9
Did I find some bug or is the string encoding not base 64 but some related variant? If a variant, why not use standard base 64? It would be nice to interoperate actions performed with AutoPy with other tools/utilties (e.g. decode output from AutoPy bitmap.to_string() elsewhere, encoded string elsewhere to load into AutoPy as bitmap). And if variant, is there a way to convert the to_string() value to standard base 64 and vice versa? So as not to need to do it separately/externally with some Python base 64 module.
FYI, I tested this with a PNG I saved externally with image editing tool that I loaded into AutoPy as well as a saved screenshot captured by AutoPy (saved with PNG extension), both on Windows 7 64-bit.
The text was updated successfully, but these errors were encountered: