I am exploring the possibility to download an icon from a website and have it displayed in B4J.
Please share you experiences on this.
A favicon reference can be found here
Image4j library source
http://image4j.sourceforge.net/
Example
https://www.b4x.com/favicon.ico
Example icon that was generated
Another example by using a canvas. Add this in from the code posted later in this thread.
Anywhere Software
Microsoft
[SOLVED]
Please share you experiences on this.
A favicon reference can be found here
Image4j library source
http://image4j.sourceforge.net/
Example
https://www.b4x.com/favicon.ico
Example icon that was generated
Another example by using a canvas. Add this in from the code posted later in this thread.
Anywhere Software
Microsoft
Attached you'll find four versions.
v1.0 only works with image files and not .ico files (for testing purposes).
v1.1 has image4j library implemented. Thanks to Daestrum for wrapping the image4j lib.
v1.2 it can now generate a new icon which is saved and loaded back in an imageview.
v1.3 this version can generate a new icon by drawing on a canvas.
[SOLVED]
Attachments
Last edited: