我目前正在使用context.createImageData(width,height); 使用html5画布创建RGBA图像.但是我不需要操纵图像的alpha值,所以我创建的数组比它需要的要大得多.有没有办法使用创建RGB图像数据的类似方法?
javascript html5 image html5-canvas
html5 ×1
html5-canvas ×1
image ×1
javascript ×1