New answers tagged

6

Online services, such as the one referenced in the question, require the image to be in one of the standard web formats (PNG, JPEG, etc.) First you must export the graphics into one of these image formats. This gives you a string of bytes (a file). Base64 is a way to encode a string of arbitrary bytes into a string of ASCII characters. As Kuba mentions, ...


4

As explained by ilian in his comment to my question, one can work around these issues in the following way Mathematica 8 You need to switch to a different version of Java as the one used in Mathematica by default. Linux The standard JVM of your Linux system should be fine. On my system (Fedora 30) it is currently OpenJDK 1.8.0 $/usr/bin/java -version ...


3

The decisive contribution to pin down the issue came from ilian in his comment to my question. He suggested to check the value of LibraryLink`$LibraryError which returned libidn.so.11: cannot open shared object file: No such file or directory The reason for this is that Fedora 30 ships libidn.so.12 but Mathematica 10 and 11 explicitly want libidn.so.11. ...


4

Update To get the list of codes and company names WebExecute[session, "ElementText" -> #] & /@ WebExecute[session, "LocateElements" -> "Tag" -> "option"] {(00001) CKH Holdings,(00002) CLP,(00003) HK & China Gas,(00004) Wharf,(00005) HSBC,(00006) Power Assets,(00011) Hang Seng Bank,(00012) Henderson Land,(00016) SHK Properties,(...


Top 50 recent answers are included