A very useful library. Thanks for sharing.
Great work thanks
Thanks! :)
Thanks for sharing. Great work ;-)
Perfectly! I can't believe what this code is written on MQL!
Keep it up!
Absolute life saver! Deserves 100 stars!
Congratulations very good, thank you for sharing. very good congratulations.
Auto-translation applied by moderator
@Ney Borges #: Congratulations very good, thank you for sharing. very good congratulations.
On the English forum, please write in English. Either use the automatic translation tool, or post in one of the other language forums.
Auto-translation applied by moderator
New version of the library 1.04
Unfortunately, CB does not allow you to update the code.
Added a default constructor to allow array declarations.
Example of using an array:
Example of using an array:#include <Canvas\iCanvas_CB.mqh> // https://www.mql5.com/ru/code/22164 #include <Canvas\png.mqh> #resource "//Images//refresh.png" as uchar png_data1[] #resource "//Images//settings-sliders.png" as uchar png_data2[] #resource "//Images//chart-histogram.png" as uchar png_data3[] CPng PNG[3]; int OnInit() { PNG[0].LoadPngFromBinArray(png_data1); PNG[1].LoadPngFromBinArray(png_data2); PNG[2].LoadPngFromBinArray(png_data3); ...
Files:
Png.mqh
39 kb

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
PNG:
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.
Author: BeeXXI Corporation