News

Fork from dom-to-image with more maintainable code and some new features. Get the raw pixel data as a Uint8Array with every 4 array elements representing the RGBA data of a pixel: A function taking ...
At the top of your Java file, add them as follows:import android.graphics.Bitmap; import android.graphics.BitmapFactory;The Bitmap class is necessary to store the image content as a Bitmap object ...
This is a problem because those images does not load in pages that have enabled the recommended Content-Security-Policy (CSP) headers that uses the img-src directive to enforce images to load only ...