node-phantom icon indicating copy to clipboard operation
node-phantom copied to clipboard

can page.render to stream

Open zhouseahe opened this issue 11 years ago • 1 comments

I don't want to write a image to file , but stream . Does node-phantom support it ? or will support it ?

zhouseahe avatar Jul 01 '14 03:07 zhouseahe

@alexscheelmeyer It seems that var image = page.renderBase64('PNG'); will work , but the result is image is undefined. what should I do ? thanks .

zhouseahe avatar Jul 01 '14 06:07 zhouseahe