I didn't work much with files. I can't figure out how to load a png file into a uchar array without renaming the file. After all, FileReadArray() only reads *.bin files.
I want the input to be the string "path" to the png file, and the output bitmap is an array of uint.
Forget about BMP files like a bad dream. With this library, you will now be able to use the more advanced and compact PNG image format for your programs.
Yes, but you need some talent and a lot of work to draw a bitmap of for instance coins image in one size. How do you scale a vector graphic in mql5?
Create a canvas of the right size — draw a circle — fill it with the color of a shadow — then draw a circle with a shift — fill it with the color of gold. In the center we print a symbol of currency — the coin is ready.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I didn't work much with files. I can't figure out how to load a png file into a uchar array without renaming the file. After all, FileReadArray() only reads *.bin files.
I want the input to be the string "path" to the png file, and the output bitmap is an array of uint.
From a resourced file ?
From a resourced file ?
great that would be a good publication .
Done
Code Base
PNG
Nikolai Semko, 2023.07.15 07:24
Forget about BMP files like a bad dream. With this library, you will now be able to use the more advanced and compact PNG image format for your programs.Done
wow , excellent work. i'm jealous 😇 👏
How do you scale a vector graphic in mql5?
Create a canvas of the right size — draw a circle — fill it with the color of a shadow — then draw a circle with a shift — fill it with the color of gold.
In the center we print a symbol of currency — the coin is ready.