Anuncios Libros Cursos Categorías

What is Canvas? Basic use of the Canvas API in HTML and tutorials

23-12-2025 - Andrés Cruz

What is Canvas? Basic use of the Canvas API in HTML and tutorials

The canvas element allows us to specify an area of ​​the page where we can draw and create all kinds of simple or complex graphics from basic primitives such as circles, ovals, rectangles, lines, polygons, text, etc. We will see examples of how to crop images, loops to draw lines, keyboard events, and how to obtain the RGB channel.


How to separately get the RGB channel of an image with HTML5 and the Canvas API?

01-10-2023 - Andrés Cruz

How to separately get the RGB channel of an image with HTML5 and the Canvas API?

In this article we will see how to obtain the three RGB channels of an image and operate them separately, to do this we will place each channel in independent images that represent said channels.