Git Product home page Git Product logo

node-png's Introduction

node-png

This is a node.js module, writen in C++, that uses libpng to produce a PNG image (in memory) from RGB or RGBA buffers.

The module exports three objects: Png, FixedPngStack and DynamicPngStack.

The Png object is for creating PNG images from an RGB, RGBA, or Grayscale buffer. The FixedPngStack is for joining a number of PNGs together (stacking them together) on a transparent blackground. The DynamicPngStack is for joining a number of PNGs together in the most space efficient way (so that the canvas border matches the leftmost upper corner of some PNG and the rightmost bottom corner of some PNG).

Png

The Png object takes 5 arguments in its constructor:

var png = new Png(buffer, width, height, buffer_type, bits_per_pixel);

The first argument, buffer, is a node.js Buffer filled with RGB(A) values. The second argument is integer width of the image. The third argument is integer height of the image. The fourth argument is 'rgb', 'bgr', 'rgba', 'bgra', or 'gray'. Defaults to 'rgb'. The fifth argument is valid only when buffer_type='gray'. Valid arguments are 8 (default) and 16.

The constructed png object has the encode method that's asynchronous in nature. You give it a callback and it will call your function with a node.js Buffer object containing the encoded PNG data when it's done:

png.encode(function (png_image) {
    // ...
});

The constructed png object also has encodeSync method that does the encoding synchronously and returns Buffer with PNG image data:

var png_image = png.encode();

You can either send the png_image to the browser, or write to a file, or do something else with it. See examples/ directory for some examples.

FixedPngStack

The FixedPngStack object takes 3 arguments in its constructor:

var fixed_png = new FixedPngStack(width, height, buffer_type);

The first argument is integer width of the canvas image. The second argument is integer height of the canvas image. The third argument is 'rgb', 'bgr', 'rgba or 'bgra'. Defaults to 'rgb'.

Now you can use the push method of fixed_png object to push buffers to the canvas. The push method takes 5 arguments:

fixed_png.push(buffer, x, y, w, h);

It pushes an RGB(A) image in buffer of width w and height h to the canvas position (x, y). You can push as many buffers to canvas as you want. After that you should call encode method or encodeSync method that will join all the pushed RGB(A) buffers together and return a single PNG.

All the regions that did not get covered will be transparent.

DynamicPngStack

The DynamicPngStack object doesn't take any dimension arguments because its width and height is dynamically computed. To create it, do:

var dynamic_png = new DynamicPngStack(buffer_type);

The buffer_type again is 'rgb', 'bgr', 'rgba' or 'bgra', depending on what type of buffers you're gonna push to dynamic_png.

It provides four methods - push, encode, encodeSync, and dimensions. The push and encode methods are the same as in FixedPngStack. You push each of the RGB(A) buffers to the stack and after that you call encode or encodeSync.

The encode asynchronous method receives one more argument than others - it receives the dimensions object with x, y, width and height of the dynamic PNG. See the next paragraph for what the dimensions are.

The dimensions method is more interesting. It must be called only after encode as its values are calculated upon encoding the image. It returns an object with width, height, x and y properties. The width and height properties show the width and the height of the final image. The x and y propreties show the position of the leftmost upper PNG.

Here is an example that illustrates it. Suppose you wish to join two PNGs together. One with width 100x40 at position (5, 10) and the other with width 20x20 at position (2, 210). First you create the DynamicPngStack object:

var dynamic_png = new DynamicPngStack();

Next you push the RGB(A) buffers of the two PNGs to it:

dynamic_png.push(png1_buf, 5, 10, 100, 40);
dynamic_png.push(png2_buf, 2, 210, 20, 20);

Now you can call encode to produce the final PNG:

var png = dynamic_png.encodeSync();

Now let's see what the dimensions are,

var dims = dynamic_png.dimensions();

Same asynchronously:

dynamic_png.encode(function (png, dims) {
    // png is the PNG image (in a node.js Buffer)
    // dims are its dimensions
});

The x position dims.x is 2 because the 2nd png is closer to the left. The y position dims.y is 10 because the 1st png is closer to the top. The width dims.width is 103 because the first png stretches from x=5 to x=105, but the 2nd png starts only at x=2, so the first two pixels are not necessary and the width is 105-2=103. The height dims.height is 220 because the 2nd png is located at 210 and its height is 20, so it stretches to position 230, but the first png starts at 10, so the upper 10 pixels are not necessary and height becomes 230-10= 220.

How to compile?

To get the node-png module compiled, you need to have libpng and node.js installed. Then just run:

    node-gyp configure build

to build node-png module. It will be called png.node. To use it, make sure it's in NODE_PATH.

See also http://github.com/pkrumins/node-jpeg module that produces JPEG images. And also http://github.com/pkrumins/node-gif for producing GIF images.

If you wish to stream PNGs over a websocket or xhr-multipart, you'll have to base64 encode it. Use my http://github.com/pkrumins/node-base64 module to do that.

node-png's People

Contributors

andrew avatar awick avatar miikka avatar pkrumins avatar ry avatar samccone avatar trentm avatar xdissent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-png's Issues

npm install png fails via png fails with the following output

[email protected] install /Users/victorpowell/Documents/examples/node/png/node_modules/png
node-waf configure build

Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /opt/node
Checking for library png : yes
'configure' finished successfully (0.536s)
Waf: Entering directory /Users/victorpowell/Documents/examples/node/png/node_modules/png/build' [1/8] cxx: src/common.cpp -> build/Release/src/common_1.o [2/8] cxx: src/png_encoder.cpp -> build/Release/src/png_encoder_1.o [3/8] cxx: src/png.cpp -> build/Release/src/png_1.o [4/8] cxx: src/fixed_png_stack.cpp -> build/Release/src/fixed_png_stack_1.o ../src/png.cpp: In static member function ‘static v8::Handle<v8::Value> Png::PngEncodeAsync(const v8::Arguments&)’: ../src/png.cpp:206: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’ ../src/png.cpp:206: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’ ../src/fixed_png_stack.cpp: In static member function ‘static v8::Handle<v8::Value> FixedPngStack::PngEncodeAsync(const v8::Arguments&)’: ../src/fixed_png_stack.cpp:263: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’ ../src/fixed_png_stack.cpp:263: error: initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, int (*)(eio_req*), void*)’ Waf: Leaving directory/Users/victorpowell/Documents/examples/node/png/node_modules/png/build'
Build failed:
-> task failed (err #1):
{task: cxx png.cpp -> png_1.o}
-> task failed (err #1):
{task: cxx fixed_png_stack.cpp -> fixed_png_stack_1.o}
npm ERR! error installing [email protected] Error: [email protected] install: node-waf configure build
npm ERR! error installing [email protected] sh "-c" "node-waf configure build" failed with 1
npm ERR! error installing [email protected] at ChildProcess. (/opt/node/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected] at maybeExit (child_process.js:336:16)
npm ERR! error installing [email protected] at Process.onexit (child_process.js:371:5)
npm ERR! [email protected] install: node-waf configure build
npm ERR! sh "-c" "node-waf configure build" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the png package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls png
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/opt/node/bin/npm" "install" "png"
npm ERR! cwd /Users/victorpowell/Documents/examples/node/png
npm ERR! node -v v0.5.10
npm ERR! npm -v 1.0.103
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/victorpowell/Documents/examples/node/png/npm-debug.log
npm not ok
victorpowell:png victorpowell$ npm owner ls png
pkrumins [email protected]

Build failing

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:106:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:790:12)
gyp ERR! System Linux 3.8.0-29-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/shobhit/Workspace/js-vnc-demo-project-master/node_modules/png
gyp ERR! node -v v0.11.6
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

Cannot install on node 0.4.8

npm info install [email protected]
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /usr/local/lib/node
Checking for node prefix : ok /usr/local/Cellar/node/0.4.8
Checking for library png : not found
'configure' finished successfully (0.755s)
Waf: Entering directory /usr/local/lib/node/.npm/png/2.0.0/package/build' [1/8] cxx: src/common.cpp -> build/default/src/common_1.o [2/8] cxx: src/png_encoder.cpp -> build/default/src/png_encoder_1.o [3/8] cxx: src/png.cpp -> build/default/src/png_1.o [4/8] cxx: src/fixed_png_stack.cpp -> build/default/src/fixed_png_stack_1.o In file included from ../src/fixed_png_stack.cpp:3: ../src/png_encoder.h:4:17: error: png.h: No such file or directoryIn file included from ../src/png_encoder.cpp:3 : ../src/png_encoder.h:4:17: error: png.h: No such file or directory In file included from ../src/png.cpp:4: ../src/png_encoder.h:4:17: error: png.h: No such file or directory In file included from ../src/png_encoder.cpp:3: ../src/png_encoder.h:19: error: ‘png_structp’ has not been declared ../src/png_encoder.h:19: error: ‘png_bytep’ has not been declared ../src/png_encoder.h:19: error: ‘png_size_t’ has not been declared ../src/png_encoder.cpp:7: error: variable or field ‘png_chunk_producer’ declared void ../src/png_encoder.cpp:7: error: ‘png_structp’ was not declared in this scope ../src/png_encoder.cpp:7: error: ‘png_bytep’ was not declared in this scope ../src/png_encoder.cpp:7: error: ‘png_size_t’ was not declared in this scope In file included from ../src/png.cpp:4: ../src/png_encoder.h:19: error: ‘png_structp’ has not been declared ../src/png_encoder.h:19: error: ‘png_bytep’ has not been declared ../src/png_encoder.h:19: error: ‘png_size_t’ has not been declared In file included from ../src/fixed_png_stack.cpp:3: ../src/png_encoder.h:19: error: ‘png_structp’ has not been declared ../src/png_encoder.h:19: error: ‘png_bytep’ has not been declared ../src/png_encoder.h:19: error: ‘png_size_t’ has not been declared Waf: Leaving directory/usr/local/lib/node/.npm/png/2.0.0/package/build'
Build failed:
-> task failed (err #1):
{task: cxx png_encoder.cpp -> png_encoder_1.o}
-> task failed (err #1):
{task: cxx png.cpp -> png_1.o}
-> task failed (err #1):
{task: cxx fixed_png_stack.cpp -> fixed_png_stack_1.o}
npm info [email protected] Failed to exec install script
npm ERR! install failed Error: [email protected] install: node-waf configure build
npm ERR! install failed sh "-c" "node-waf configure build" failed with 1
npm ERR! install failed at ChildProcess. (/usr/local/lib/node/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! install failed at ChildProcess.emit (events.js:67:17)
npm ERR! install failed at ChildProcess.onexit (child_process.js:192:12)
npm info install failed rollback
npm info uninstall [ '[email protected]' ]
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info auto-deactive not symlink
npm info postuninstall [email protected]
npm info uninstall [email protected] complete
npm info install failed rolled back
npm ERR! Error: [email protected] install: node-waf configure build
npm ERR! sh "-c" "node-waf configure build" failed with 1
npm ERR! at ChildProcess. (/usr/local/lib/node/.npm/npm/0.3.18/package/lib/utils/exec.js:49:20)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at ChildProcess.onexit (child_process.js:192:12)
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the png package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls png
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 11.0.0
npm ERR! argv { remain: [ 'png' ],
npm ERR! argv cooked: [ 'install', 'png' ],
npm ERR! argv original: [ 'install', 'png' ] }
npm not ok

Fails to build

mirekimac:pngtest mirek$ node -v
v0.12.0
mirekimac:pngtest mirek$ npm install png --save
child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/png/src/common.o
../src/common.cpp:10:17: error: calling a protected constructor of class 'v8::HandleScope'
    HandleScope scope;
                ^
/Users/mirek/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../src/common.cpp:11:37: error: no member named 'New' in 'v8::String'
    return Exception::Error(String::New(msg));
                            ~~~~~~~~^
../src/common.cpp:16:17: error: calling a protected constructor of class 'v8::HandleScope'
    HandleScope scope;
                ^
/Users/mirek/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: note: declared protected here
  V8_INLINE HandleScope() {}
            ^
../src/common.cpp:17:12: error: use of undeclared identifier 'ThrowException'; did you mean 'ErrorException'?
    return ThrowException(ErrorException(msg));
           ^~~~~~~~~~~~~~
           ErrorException
../src/common.cpp:8:1: note: 'ErrorException' declared here
ErrorException(const char *msg)
^
../src/common.cpp:17:27: error: no viable conversion from 'Handle<v8::Value>' to 'const char *'
    return ThrowException(ErrorException(msg));
                          ^~~~~~~~~~~~~~~~~~~
../src/common.cpp:8:28: note: passing argument to parameter 'msg' here
ErrorException(const char *msg)
                           ^
5 errors generated.
make: *** [Release/obj.target/png/src/common.o] Error 1

Security issue. You can provide wrong size of image. It will countinue read out of buffer range.

some coffeescript to test
proper usage

#!/usr/bin/iced
png_encoder = require 'png'
fs  = require 'fs'

local_buffer = new Buffer 2*2*4
local_buffer.fill 0
size_x = 2
size_y = 2

img = new png_encoder.Png(local_buffer, size_x, size_y, "rgba")
img.encode (dst_buf)->
  fs.writeFile "res.png", dst_buf, (err)->

bad usage

#!/usr/bin/iced
png_encoder = require 'png'
fs  = require 'fs'

local_buffer = new Buffer 2*2*4
local_buffer.fill 0
size_x = 2
size_y = 1024

img = new png_encoder.Png(local_buffer, size_x, size_y, "rgba")
img.encode (dst_buf)->
  fs.writeFile "res2.png", dst_buf, (err)->

btw. other modules (node-jpeg, node-gif) also need checking.
png version 3.0.3

alpha blending on the stack

Pushing multiple semi transparent png buffers on a stack does not obey alpha blending.

Can this be achieved? Or is it omitted by design? If so, why?

Does not compile on Win 7 Pro

It fails with MSBuild 12.0.31101 giving dozens of errors, e.g.
c:\users\jindrichvavruska\appdata\roaming\npm\node_modules\png\src\png.h(9): error C2504: 'ObjectWrap' : base class undefined (..\src\png.cpp)

c:\users\jindrichvavruska\appdata\roaming\npm\node_modules\png\src\png.h(22): error C2143: syntax error : missing ',' before '&' (..\src\png.cpp)

flag for inverted alpha

The inverted alpha when using 'rgba' mode is not right. Maybe there should be a flag or some thing we could set through node that would revert it.

Hi! Any plans of providing support for latest node?

Node.js has changed tremendously in the last 6 years. Do you have any plans of updating this package to support latest Node.js?

Currently, installing deps fails on building libpng.

» npm i

> [email protected] install /Users/imp16/code/node-png
> node-gyp rebuild

/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libpng --libs' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.3.0
gyp ERR! command "/usr/local/Cellar/node/13.8.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/imp16/code/node-png
gyp ERR! node -v v13.8.0
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/imp16/.npm/_logs/2020-02-18T16_17_44_851Z-debug.log

Untitled

Marak-Squiress-MacBook-Pro:stackvm maraksquires$ sudo npm install png
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm ERR! sudon't!
npm ERR! sudon't! Running npm as root is not recommended!
npm ERR! sudon't! Seriously, don't do this!
npm ERR! sudon't!
npm info preinstall [email protected]
npm info install [email protected]
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /Users/maraksquires/.node_libraries
Checking for node prefix : ok /usr/local
Checking for library png : not found
'configure' finished successfully (0.119s)
Waf: Entering directory /usr/local/lib/node/.npm/png/1.0.3/package/build' [2/7] cxx: src/png_encoder.cpp -> build/default/src/png_encoder_1.o [3/7] cxx: src/png.cpp -> build/default/src/png_1.o In file included from ../src/png_encoder.cpp:3: In file included from ../src/png.cpp:4: ../src/png_encoder.h:4:17: error: png.h: No such file or directory ../src/png_encoder.h:4:17: error: png.h: No such file or directory In file included from ../src/png.cpp:4: ../src/png_encoder.h:19: error: ‘png_structp’ has not been declared ../src/png_encoder.h:19: error: ‘png_bytep’ has not been declared ../src/png_encoder.h:19: error: ‘png_size_t’ has not been declared ../src/png.cpp: In member function ‘v8::Handle<v8::Value> Png::PngEncodeSync()’: ../src/png.cpp:31: error: ‘class node::Buffer’ has no member named ‘data’ ../src/png.cpp:35: error: ‘class node::Buffer’ has no member named ‘data’ ../src/png.cpp: In static member function ‘static int Png::EIO_PngEncode(eio_req*)’: ../src/png.cpp:110: error: ‘class node::Buffer’ has no member named ‘data’ ../src/png.cpp: In static member function ‘static int Png::EIO_PngEncodeAfter(eio_req*)’: ../src/png.cpp:145: error: ‘class node::Buffer’ has no member named ‘data’ In file included from ../src/png_encoder.cpp:3: ../src/png_encoder.h:19: error: ‘png_structp’ has not been declared ../src/png_encoder.h:19: error: ‘png_bytep’ has not been declared ../src/png_encoder.h:19: error: ‘png_size_t’ has not been declared ../src/png_encoder.cpp:7: error: variable or field ‘png_chunk_producer’ declared void ../src/png_encoder.cpp:7: error: ‘png_structp’ was not declared in this scope ../src/png_encoder.cpp:7: error: ‘png_bytep’ was not declared in this scope ../src/png_encoder.cpp:7: error: ‘png_size_t’ was not declared in this scope Waf: Leaving directory/usr/local/lib/node/.npm/png/1.0.3/package/build'
Build failed:
-> task failed (err #1):
{task: cxx png_encoder.cpp -> png_encoder_1.o}
-> task failed (err #1):
{task: cxx png.cpp -> png_1.o}
npm info [email protected] Failed to exec install script
npm ERR! install failed Error: [email protected] install: node-waf configure build
npm ERR! install failed sh failed with 1
npm ERR! install failed at ChildProcess. (/usr/local/lib/node/.npm/npm/0.2.10/package/lib/utils/exec.js:24:18)
npm ERR! install failed at ChildProcess.emit (events.js:27:15)
npm ERR! install failed at ChildProcess.onexit (child_process.js:169:12)
npm info install failed rollback
npm info not installed png,1.0.3
npm info install failed rolled back
npm ERR! Error: [email protected] install: node-waf configure build
npm ERR! sh failed with 1
npm ERR! at ChildProcess. (/usr/local/lib/node/.npm/npm/0.2.10/package/lib/utils/exec.js:24:18)
npm ERR! at ChildProcess.emit (events.js:27:15)
npm ERR! at ChildProcess.onexit (child_process.js:169:12)
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the png package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls png
npm ERR! There may be additional logging output above.
npm not ok
Marak-Squiress-MacBook-Pro:stackvm maraksquires$

write png image from str (opencv and thrift)

(sorry for my english)..
Hi! .. i have a little app in c++ that capture images and send it to a
nodejs server using thrift [1] ..
The image data is converted to PNG data in the c++ side and sended to
the nodejs using thrift, the data is received like str ..
In the server.js i write the methods to read the data and put into a
Buffer, then using node-png i try to write the image to disc, but i
can't see the image, i only have a dirty image like a TV when the
signal is bad.
This is my nodejs server (with thrift).

 var Png = require('png').Png; 
 var fs = require('fs'); 
 var sys = require('sys'); 
 var thrift = require('thrift'); 
 var Buffer = require('buffer').Buffer; 
 var ImageService = require('./ImageService.js'), 
    ttypes = require('./service_types.js'); 
 var indice=0; 
 var receiveImage = function(image,success){ 
     console.log("Recibida: "); 
     var rgb = new Buffer(image.data); 
     var png = new Png(rgb,image.width,image.height,'rgb'); 
     png.encode(function(data,error){ 
          if(error){ 
               console.log('Error: '+error.toString()); 
               process.exit(1); 
          }else{ 
              fs.writeFileSync('png'+indice +'.png',data.toString('binary'),'binary'); 
         } 
    }); 
   success(true); 
 }  
 var server = thrift.createServer(ImageService,{ 
     receiveImage: receiveImage 
 }); 

 server.listen(9090,function(){ 
    console.log("Escuchando...\n"); 
 });

Any idea???
thanks a lot

[1] https://github.com/wadey/node-thrift
http://thrift.apache.org/

Does not compile against node 0.3.2

I think the reason is due to the change of the Buffer API.

Check these files:
https://github.com/ry/node/blob/v0.1.96/src/node_buffer.h

https://github.com/ry/node/blob/v0.3.2/src/node_buffer.h

One of the API calls that node-png does is data->data() (examples in line 31, link below), which is no longer available.
https://github.com/pkrumins/node-png/blob/master/src/png.cpp#L31

I have tried to change the .cc file myself with no luck into the new API, which I think should be Data(v8::Handlev8::Object obj).

Can you give me a hint on how to do that?

Thanks.

Update module

Good afternoon. Would you tell me, will update Nodier-PNG module to work with newer versions of nodes (> 0.12.0)?

npm install produces error

 master node-flickr-store $ npm install png
npm http GET https://registry.npmjs.org/png
npm http 304 https://registry.npmjs.org/png

> [email protected] install /Users/oscar/Dropbox/projects/node-flickr-store/node_modules/png
> node-gyp rebuild

/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libpng --libs' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:757:12)
gyp ERR! System Darwin 12.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/oscar/Dropbox/projects/node-flickr-store/node_modules/png
gyp ERR! node -v v0.10.2
gyp ERR! node-gyp -v v0.9.3
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the png package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls png
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "png"
npm ERR! cwd /Users/oscar/Dropbox/projects/node-flickr-store
npm ERR! node -v v0.10.2
npm ERR! npm -v 1.2.15
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/oscar/Dropbox/projects/node-flickr-store/npm-debug.log
npm ERR! not ok code 0

All other npm modules install fine.

Can't build node-png on Win8.1 x64 with node v0.10.26

I get the following errors:

png_encoder.obj : error LNK2001: unresolved external symbol png_write_info [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_set_invert_alpha [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_write_image [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_destroy_write_struct [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_set_write_fn [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_write_end [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_get_io_ptr [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_create_info_struct [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_create_write_struct [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_set_bgr [C:\ ...\node_modules\node-png\build\png.vcxproj]
png_encoder.obj : error LNK2001: unresolved external symbol png_set_IHDR [C:\ ...\node_modules\node-png\build\png.vcxproj]
C:\ ...\node_modules\node-png\build\Release\png.node : fatal error LNK1120: 11 unresolved externals [C:\ ...\node_modules\node-png\build\png.vcxproj]

I'm using Python2.7, VS2012 Express

RGB vs Alpha Range

I'm not sure if it makes sense that the alpha channel is inverted. What was the reasoning behind this?

If anything, this should be made more obvious in the documentation. It took me awhile to figure out what was going wrong.

(Suggestion) Parsing PNG data

It'd be great if this module also had the possibility to turn a PNG buffer into a raw pixel buffer, i.e. the inverse operation of what the module currently does. Surely libpng must provide this kind of functionality...

Unable to run any example from the examples folder

Hi,

Here is the code I have (small changes from existing example)

var fs = require('fs');
var sys = require('sys');
var Png = require('node-png').PNG;
var Buffer = require('buffer').Buffer;

// the rgba-terminal.dat file is 1152000 bytes long.
var rgba = fs.readFileSync('./rgba-terminal.dat');

var png = new Png(rgba, 720, 400, 'rgba');
png.encode(function (data, error) {
if (error) {
console.log('Error: ' + error.toString());
process.exit(1);
}
fs.writeFileSync('./png-async.png', data.toString('binary'), 'binary');
});

The error I get when running this is 👍

% node test-png-1.js
/Users/svarma/projects/charon/charon-server/test-png-1.js:10
png.encode(function (data, error) {
^
TypeError: undefined is not a function
at Object. (/Users/svarma/projects/charon/charon-server/test-png-1.js:10:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Anyone had this issue before ? I am not sure what I am missing. The node module is built successfully and installed as "node-png".

Thanks.

node 0.5.7

[4/8] cxx: src/fixed_png_stack.cpp -> build/Release/src/fixed_png_stack_1.o
../src/png.cpp: In static member function ‘static v8::Handle<v8::Value> Png::PngEncodeAsync(const v8::Arguments&)’:
../src/png.cpp:206:75: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’ [-fpermissive]
/usr/include/node/uv-private/eio.h:334:10: error:   initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, eio_cb, void*)’ [-fpermissive]
../src/fixed_png_stack.cpp: In static member function ‘static v8::Handle<v8::Value> FixedPngStack::PngEncodeAsync(const v8::Arguments&)’:
../src/fixed_png_stack.cpp:263:75: error: invalid conversion from ‘int (*)(eio_req*)’ to ‘void (*)(eio_req*)’ [-fpermissive]
/usr/include/node/uv-private/eio.h:334:10: error:   initializing argument 1 of ‘eio_req* eio_custom(void (*)(eio_req*), int, eio_cb, void*)’ [-fpermissive]

npm packages

hey there, the npm packages (png, jpeg) seems to be broken. do you plan to update them ?

Requiring png only exposes the Png() class

Node: 0.10.8
NPM: 1.2.23

I want to use this package in a project. I have added it to the package.json

"dependencies": { "async": "~0.2.9", "mustache": "~0.7.2", "underscore": "~1.5.2", "glob": "~3.2.6", "optimist": "~0.6.0", "png-size": "~0.1.0", "png": "3.0.2" }

and ran npm install. Then required using var PngLib = require('png');

The problem I am having is that PngLib only contains the Png class.

How can I get access to Fixed and Dynamic classes?

Error: Symbol png_module not found.

osx 10.8.3

these are the build errors

npm install png
npm http GET https://registry.npmjs.org/png
npm http 304 https://registry.npmjs.org/png

> [email protected] install /Users/sam/Desktop/repos/psd.js-1/node_modules/png
> node-gyp rebuild

  CXX(target) Release/obj.target/png/src/common.o
  CXX(target) Release/obj.target/png/src/png_encoder.o
../src/png_encoder.cpp:18:29: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
    if (p->png_len + length > p->mem_len) {
        ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
../src/png_encoder.cpp:30:5: warning: field 'data' will be initialized after field 'width' [-Wreorder]
    data(ddata), width(wwidth), height(hheight), buf_type(bbuf_type),
    ^
../src/png_encoder.cpp:30:50: warning: field 'buf_type' will be initialized after field 'png' [-Wreorder]
    data(ddata), width(wwidth), height(hheight), buf_type(bbuf_type),
                                                 ^
3 warnings generated.
  CXX(target) Release/obj.target/png/src/png.o
  CXX(target) Release/obj.target/png/src/fixed_png_stack.o
  CXX(target) Release/obj.target/png/src/dynamic_png_stack.o
  CXX(target) Release/obj.target/png/src/module.o
  CXX(target) Release/obj.target/png/src/buffer_compat.o
  SOLINK_MODULE(target) Release/png.node
  SOLINK_MODULE(target) Release/png.node: Finished

Create png from pixel array

I have an buffer with number values from 0 to 255, I use rgba so the first number is the r value, the second the g value, .. and the last the alpha value.

The size of my image is 16_16 pixel. The size of my buffer is 16_16*4.

This is my important Code:

    res.type('png'); //for expressjs

    var tex = ...
    var rgba = new Buffer(tex.length);

    for (var i = 0; i < tex.length; i++) {
        rgba[i] = tex.copy_pixel(i);
        process.stdout.write(rgba[i]+" ");
    };

    var png = new Png(rgba, tex.width, tex.height, 'rgba');
    var png_image = png.encodeSync();
    res.send(png_image); //for expressjs

The output of process.stdout.write are 1024 numbers with a value 0 to 255.

An idea why my program does not work?

Here can found my full source code.

Unable to install or build on Mac OS X Yosemite

Hi! I'm having some issues getting this module to run, namely:

When I try to install

$ npm i png                                                                      
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm http request GET https://registry.npmjs.org/png
npm http 304 https://registry.npmjs.org/png
|
> [email protected] install /Users/david/Documents/Code/crp-raytracer/node_modules/png
> node-gyp rebuild

/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libpng --libs' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/david/Documents/Code/crp-raytracer/node_modules/png
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "i" "png"
npm ERR! node v0.10.32
npm ERR! npm  v2.1.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the png package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls png
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

When I try to build

$ node-gyp configure build                                                       
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/david/Documents/Code/node-png/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/david/.node-gyp/0.10.32/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/david/.node-gyp/0.10.32',
gyp info spawn args   '-Dmodule_root_dir=/Users/david/Documents/Code/node-png',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libpng --libs' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure" "build"
gyp ERR! cwd /Users/david/Documents/Code/node-png
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

What might be I missing? Thank you!

Cannot find png.h with custom Homebrew root because Boxen

I have a non-standard, but not-uncommon Homebrew config which causes this module to fail to build on OS X. Specifically, Homebrew is installed by Boxen under /opt/boxen instead of /usr/local:

$ brew --env
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /opt/boxen/homebrew
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/boxen/homebrew/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /opt/boxen/homebrew/share/aclocal
PATH: /opt/boxen/homebrew/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin

I confess to being fairly ignorant how node extensions are built with gyp, but I would expect to see something like -I/opt/boxen/homebrew/include here:

$ npm install --loglevel verbose png
gyp verb `which` succeeded for `make` /usr/bin/make
gyp info spawn make
gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ]
  c++ '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/Users/toolbear/.node-gyp/0.10.31/src -I/Users/toolbear/.node-gyp/0.10.31/deps/uv/include -I/Users/toolbear/.node-gyp/0.10.31/deps/v8/include  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/png/src/common.o.d.raw  -c -o Release/obj.target/png/src/common.o ../src/common.cpp
  c++ '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/Users/toolbear/.node-gyp/0.10.31/src -I/Users/toolbear/.node-gyp/0.10.31/deps/uv/include -I/Users/toolbear/.node-gyp/0.10.31/deps/v8/include  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/png/src/png_encoder.o.d.raw  -c -o Release/obj.target/png/src/png_encoder.o ../src/png_encoder.cpp
In file included from ../src/png_encoder.cpp:3:

I can work around this issue with:

$ cd /usr/local
$ sudo ln -s /opt/boxen/homebrew/include include

And then everything builds.

With some pointers on what I should change, I'm happy to submit a pull request that incorporates brew --env values into the build config. The failure is trivial for me to reproduce and currently not blocking as png is an optional dependency ATM.

node-gyp build fails with io.js

I am unsure as to whether the issue is with io.js or node-png, but as io.js is supposedly 100% compatible with node.js, I am posting this here.

I have correctly installed the node-gyp headers for io.js, so no problems there.

node-png correctly configures, as can be seen here:

[REDACTED]@[REDACTED] ~/projects/[REDACTED]/node_modules/png $ node-gyp configure
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
child_process: customFds option is deprecated, use stdio instead.
gyp info spawn python
gyp info spawn args [ '/usr/local/npm/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/[REDACTED]/projects/[REDACTED]/node_modules/png/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/npm/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/[REDACTED]/.node-gyp/1.3.0/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/[REDACTED]/.node-gyp/1.3.0',
gyp info spawn args   '-Dmodule_root_dir=/home/[REDACTED]/projects/[REDACTED]/node_modules/png',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok 

However, when I attempt to run node-gyp build, I receive the following errors:

[REDACTED]@[REDACTED] ~/projects/[REDACTED]/node_modules/png $ node-gyp build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
child_process: customFds option is deprecated, use stdio instead.
gyp info spawn make
make: Entering directory `/home/[REDACTED]/projects/[REDACTED]/node_modules/png/build'
gyp  CXX(target) Release/obj.target/png/src/common.o
 info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
In file included from /home/[REDACTED]/.node-gyp/1.3.0/src/node.h:40:0,
                 from ../src/common.h:4,
                 from ../src/common.cpp:3:
/home/[REDACTED]/.node-gyp/1.3.0/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> ErrorException(const char*)’:
/home/[REDACTED]/.node-gyp/1.3.0/deps/v8/include/v8.h:878:13: error: ‘v8::HandleScope::HandleScope()’ is protected
   V8_INLINE HandleScope() {}
             ^
../src/common.cpp:10:17: error: within this context
     HandleScope scope;
                 ^
../src/common.cpp:11:29: error: ‘New’ is not a member of ‘v8::String’
     return Exception::Error(String::New(msg));
                             ^
In file included from /home/[REDACTED]/.node-gyp/1.3.0/src/node.h:40:0,
                 from ../src/common.h:4,
                 from ../src/common.cpp:3:
/home/[REDACTED]/.node-gyp/1.3.0/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> VException(const char*)’:
/home/[REDACTED]/.node-gyp/1.3.0/deps/v8/include/v8.h:878:13: error: ‘v8::HandleScope::HandleScope()’ is protected
   V8_INLINE HandleScope() {}
             ^
../src/common.cpp:16:17: error: within this context
     HandleScope scope;
                 ^
../src/common.cpp:17:46: error: ‘ThrowException’ was not declared in this scope
     return ThrowException(ErrorException(msg));
                                              ^
../src/common.cpp: In function ‘v8::Handle<v8::Value> ErrorException(const char*)’:
../src/common.cpp:12:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../src/common.cpp: In function ‘v8::Handle<v8::Value> VException(const char*)’:
../src/common.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [Release/obj.target/png/src/common.o] Error 1
make: Leaving directory `/home/[REDACTED]/projects/[REDACTED]/node_modules/png/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/npm/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:169:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1044:12)
gyp ERR! System Linux 3.13.0-37-generic
gyp ERR! command "node" "/usr/local/npm/bin/node-gyp" "build"
gyp ERR! cwd /home/[REDACTED]/projects/[REDACTED]/node_modules/png
gyp ERR! node -v v1.3.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 

Once again, apologies if this is not the correct place to post this error.

Feature request: stride parameter in push methods.

At the moment the push routines take just 'w' which is used both as the width of the image and it is multiplied by 4 to give the distance in bytes between the adjacent lines in the input.
If you separate out those two things then I can push a small rectangle from a buffer into a PNG.

The legacy/simple call push(buf, x, y, w, h) can be implemented as pushRectangle(buf, x, y, w*4, w, h)

Does not compile on nodejs v0.10.11

I tried to install node-png with nodejs v0.10.11 on a fresh install of Ubuntu 13.04:

$ npm install png
npm http GET https://registry.npmjs.org/png
npm http 304 https://registry.npmjs.org/png

[email protected] install /home/michael/node-png/node_modules/png
node-gyp rebuild

make: Entering directory /home/michael/node-png/node_modules/png/build' CXX(target) Release/obj.target/png/src/common.o CXX(target) Release/obj.target/png/src/png_encoder.o In file included from ../src/png_encoder.cpp:3:0: ../src/png_encoder.h:4:17: fatal error: png.h: No such file or directory compilation terminated. make: *** [Release/obj.target/png/src/png_encoder.o] Error 1 make: Leaving directory/home/michael/node-png/node_modules/png/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 3.8.0-25-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/michael/node-png/node_modules/png
gyp ERR! node -v v0.10.11
gyp ERR! node-gyp -v v0.10.0
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0

License?

It doesn't look like this code has a license.

I'm interested in adapting it for an Open Source project, but I can't unless I know that the code isn't proprietary.

undefined symbol: png_create_write_struct

node: 0.8.14
libpng: 1.4.12

Package installed successfully, but if I try one of examples, I got:

 node: symbol lookup error: /vagrant/app/node_modules/png/build/Release/png.node: undefined symbol:    png_create_write_struct

[Windows] compilation error (master/trunk)

I download the current-master,
and it doesn't seems to "want to compile",
should I use a release instead?

Windows 7 with NodeJS "Windows-Build-Tools" package.

C:\Users\Elad\Desktop\node-png-master\node-png-master>node-gyp clean
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp info ok

C:\Users\Elad\Desktop\node-png-master\node-png-master>node-gyp configure
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp info spawn C:\Users\Elad\.windows-build-tools\python27\python.EXE
gyp info spawn args [ 'C:\\Users\\Elad\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=auto',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\Elad\\Desktop\\node-png-master\\node-png-master\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\Elad\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\Elad\\.node-gyp\\10.0.0\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Elad\\.node-gyp\\10.0.0',
gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\Elad\\AppData\\Roaming\\npm\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=C:\\Users\\Elad\\.node-gyp\\10.0.0\\<(target_arch)\\node.lib',
gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\Elad\\Desktop\\node-png-master\\node-png-master',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'C:\\Users\\Elad\\Desktop\\node-png-master\\node-png-master\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info ok

C:\Users\Elad\Desktop\node-png-master\node-png-master>node-gyp build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=Win32' ]
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
  common.cpp
  png_encoder.cpp
..\src\common.cpp(10): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\common.cpp(11): error C2039: 'New': is not a member of 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\common.cpp(11): error C3861: 'New': identifier not found [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\common.cpp(16): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\common.cpp(17): error C3861: 'ThrowException': identifier not found [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  png.cpp
..\src\png_encoder.cpp(75): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png_encoder.cpp(107): warning C4101: 'err': unreferenced local variable
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  fixed_png_stack.cpp
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): error C2039
: 'ObjectWrap': is not a member of 'node' (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see declaration of 'node' (compiling source file ..\src\png.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): error C2504
: 'ObjectWrap': base class undefined (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(15): error C206
1: syntax error: identifier 'uv_work_t' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(16): error C206
1: syntax error: identifier 'uv_work_t' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\png.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\
node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaration of 'v8' (compiling source file ..\src\png.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\
node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\png.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\
node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\png.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\png.cpp) [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\png.cpp) [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(11):
error C2365: 'BufferData': redefinition; previous definition was 'data variable
' (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-master
\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData' (compiling source file ..\src\png.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(12):
error C2365: 'BufferLength': redefinition; previous definition was 'data variab
le' (compiling source file ..\src\png.cpp) [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength' (compiling source file ..\src\png.cp
  p)
..\src\png.cpp(14): error C2248: 'v8::HandleScope::HandleScope': cannot access
protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\nod
e-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(16): error C2664: 'v8::Local<v8::FunctionTemplate> v8::FunctionT
emplate::New(v8::Isolate *,v8::FunctionCallback,v8::Local<v8::Value>,v8::Local<
v8::Signature>,int,v8::ConstructorBehavior,v8::SideEffectType)': cannot convert
 argument 1 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to 'v8::Isolate
*' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(16): note: There is no context in which this conversion is pos
  sible
..\src\png.cpp(18): error C2664: 'void node::NODE_SET_PROTOTYPE_METHOD(v8::Loca
l<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cannot convert arg
ument 3 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to 'v8::FunctionCall
back' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(18): note: None of the functions with this name in scope match
   the target type
..\src\png.cpp(19): error C2664: 'void node::NODE_SET_PROTOTYPE_METHOD(v8::Loca
l<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cannot convert arg
ument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\Users\Elad\Des
ktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(19): note: None of the functions with this name in scope match
   the target type
..\src\png.cpp(20): error C2039: 'NewSymbol': is not a member of 'v8::String' [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\png.cpp(20): error C3861: 'NewSymbol': identifier not found [C:\Users\El
ad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(29): error C2248: 'v8::HandleScope::HandleScope': cannot access
protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\nod
e-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(31): error C2065: 'handle_': undeclared identifier [C:\Users\Ela
d\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(31): error C2227: left of '->GetHiddenValue' must point to class
/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-mast
er\build\png.vcxproj]
  ..\src\png.cpp(31): note: type is 'unknown-type'
..\src\png.cpp(31): error C2039: 'New': is not a member of 'v8::String' [C:\Use
rs\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\png.cpp(31): error C2664: 'v8::Local<v8::Value> Png::New(const int)': ca
nnot convert argument 1 from 'const char [7]' to 'const int' [C:\Users\Elad\Des
ktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(31): note: There is no context in which this conversion is pos
  sible
..\src\png.cpp(33): error C2064: term does not evaluate to a function taking 1
arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxp
roj]
..\src\png.cpp(35): warning C4530: C++ exception handler used, but unwind seman
tics are not enabled. Specify /EHsc [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\png.cpp(39): error C2882: 'Buffer': illegal use of namespace identifier
in expression [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
..\src\png.cpp(39): error C2065: 'retbuf': undeclared identifier [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(39): error C2661: 'node::Buffer::New': no overloaded function ta
kes 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\pn
g.vcxproj]
..\src\png.cpp(40): error C2065: 'retbuf': undeclared identifier [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(41): error C2039: 'Close': is not a member of 'v8::HandleScope'
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(41): error C2065: 'retbuf': undeclared identifier [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(41): error C2227: left of '->handle_' must point to class/struct
/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
  ..\src\png.cpp(41): note: type is 'unknown-type'
..\src\png.cpp(49): error C4430: missing type specifier - int assumed. Note: C+
+ does not support default-int [C:\Users\Elad\Desktop\node-png-master\node-png-
master\build\png.vcxproj]
..\src\png.cpp(49): error C2143: syntax error: missing ',' before '&' [C:\Users
\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(51): error C2248: 'v8::HandleScope::HandleScope': cannot access
protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\nod
e-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(53): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(53): error C2228: left of '.Length' must have class/struct/union
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(53): note: type is 'unknown-type'
..\src\png.cpp(55): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(57): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(57): error C2227: left of '->IsInt32' must point to class/struct
/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
..\src\png.cpp(59): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(59): error C2227: left of '->IsInt32' must point to class/struct
/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
..\src\png.cpp(63): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(63): error C2228: left of '.Length' must have class/struct/union
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(63): note: type is 'unknown-type'
..\src\png.cpp(64): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(64): error C2227: left of '->IsString' must point to class/struc
t/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\bui
ld\png.vcxproj]
..\src\png.cpp(67): error C2039: 'AsciiValue': is not a member of 'v8::String'
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\png.cpp(67): error C2065: 'AsciiValue': undeclared identifier [C:\Users\
Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(67): error C2146: syntax error: missing ';' before identifier 'b
ts' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(67): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(67): error C2227: left of '->ToString' must point to class/struc
t/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\bui
ld\png.vcxproj]
..\src\png.cpp(67): error C3861: 'bts': identifier not found [C:\Users\Elad\Des
ktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(68): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(69): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(70): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(75): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(77): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(79): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(81): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(83): error C2065: 'bts': undeclared identifier [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(91): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(91): error C2228: left of '.Length' must have class/struct/union
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(91): note: type is 'unknown-type'
..\src\png.cpp(94): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(94): error C2227: left of '->IsInt32' must point to class/struct
/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
..\src\png.cpp(97): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(97): error C2227: left of '->Int32Value' must point to class/str
uct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\b
uild\png.vcxproj]
..\src\png.cpp(99): error C2065: 'args': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(99): error C2227: left of '->Int32Value' must point to class/str
uct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\b
uild\png.vcxproj]
..\src\png.cpp(105): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(105): error C2227: left of '->Int32Value' must point to class/st
ruct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\png.cpp(106): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(106): error C2227: left of '->Int32Value' must point to class/st
ruct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\png.cpp(115): error C2039: 'Wrap': is not a member of 'Png' [C:\Users\El
ad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): note: see
   declaration of 'Png'
..\src\png.cpp(115): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(115): error C2228: left of '.This' must have class/struct/union
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(115): note: type is 'unknown-type'
..\src\png.cpp(118): error C2039: 'handle_': is not a member of 'Png' [C:\Users
\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): note: see
   declaration of 'Png'
..\src\png.cpp(118): error C2227: left of '->SetHiddenValue' must point to clas
s/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
..\src\png.cpp(118): error C2039: 'New': is not a member of 'v8::String' [C:\Us
ers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\png.cpp(118): error C2664: 'v8::Local<v8::Value> Png::New(const int)': c
annot convert argument 1 from 'const char [7]' to 'const int' [C:\Users\Elad\De
sktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(118): note: There is no context in which this conversion is po
  ssible
..\src\png.cpp(118): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(120): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(120): error C2228: left of '.This' must have class/struct/union
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(120): note: type is 'unknown-type'
..\src\png.cpp(124): error C4430: missing type specifier - int assumed. Note: C
++ does not support default-int [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
..\src\png.cpp(124): error C2143: syntax error: missing ',' before '&' [C:\User
s\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(126): error C2248: 'v8::HandleScope::HandleScope': cannot access
 protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\no
de-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(127): error C2653: 'ObjectWrap': is not a class or namespace nam
e [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(127): error C2065: 'Unwrap': undeclared identifier [C:\Users\Ela
d\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(127): error C2275: 'Png': illegal use of this type as an express
ion [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(127): error C2065: 'args': undeclared identifier [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(127): error C2228: left of '.This' must have class/struct/union
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\png.cpp(127): note: type is 'unknown-type'
..\src\png.cpp(128): error C2039: 'Close': is not a member of 'v8::HandleScope'
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\png.cpp(132): error C2065: 'uv_work_t': undeclared identifier [C:\Users\
Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(132): error C2065: 'req': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(132): error C2761: 'void Png::UV_PngEncode(void)': member functi
on redeclaration not allowed [C:\Users\Elad\Desktop\node-png-master\node-png-ma
ster\build\png.vcxproj]
..\src\png.cpp(133): error C2448: 'Png::UV_PngEncode': function-style initializ
er appears to be a function definition [C:\Users\Elad\Desktop\node-png-master\n
ode-png-master\build\png.vcxproj]
..\src\png.cpp(156): error C2065: 'uv_work_t': undeclared identifier [C:\Users\
Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(156): error C2065: 'req': undeclared identifier [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(156): error C2761: 'void Png::UV_PngEncodeAfter(void)': member f
unction redeclaration not allowed [C:\Users\Elad\Desktop\node-png-master\node-p
ng-master\build\png.vcxproj]
..\src\png.cpp(157): error C2448: 'Png::UV_PngEncodeAfter': function-style init
ializer appears to be a function definition [C:\Users\Elad\Desktop\node-png-mas
ter\node-png-master\build\png.vcxproj]
..\src\png.cpp(192): error C4430: missing type specifier - int assumed. Note: C
++ does not support default-int [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
..\src\png.cpp(192): error C2143: syntax error: missing ',' before '&' [C:\User
s\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\png.cpp(192): fatal error C1003: error count exceeds 100; stopping compi
lation [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj
]
  dynamic_png_stack.cpp
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(9):
 error C2039: 'ObjectWrap': is not a member of 'node' (compiling source file ..
\src\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node' (compiling source file ..\src\fixed_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(9):
 error C2504: 'ObjectWrap': base class undefined (compiling source file ..\src\
fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\bui
ld\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(14)
: error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(15)
: error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\fixed_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\fixed_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\fixed_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\fixed_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\
Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-mas
ter\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\fixed_png_
stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcx
proj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-mas
ter\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\fixed_png_
stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcx
proj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(11):
error C2365: 'BufferData': redefinition; previous definition was 'data variable
' (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\nod
e-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData' (compiling source file ..\src\fixed_pn
  g_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(12):
error C2365: 'BufferLength': redefinition; previous definition was 'data variab
le' (compiling source file ..\src\fixed_png_stack.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength' (compiling source file ..\src\fixed_
  png_stack.cpp)
..\src\fixed_png_stack.cpp(13): error C2248: 'v8::HandleScope::HandleScope': ca
nnot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(15): error C2664: 'v8::Local<v8::FunctionTemplate> v
8::FunctionTemplate::New(v8::Isolate *,v8::FunctionCallback,v8::Local<v8::Value
>,v8::Local<v8::Signature>,int,v8::ConstructorBehavior,v8::SideEffectType)': ca
nnot convert argument 1 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to '
v8::Isolate *' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  ..\src\fixed_png_stack.cpp(15): note: There is no context in which this conve
  rsion is possible
..\src\fixed_png_stack.cpp(17): error C2664: 'void node::NODE_SET_PROTOTYPE_MET
HOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cannot
 convert argument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\Us
ers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\fixed_png_stack.cpp(17): note: None of the functions with this name in
   scope match the target type
..\src\fixed_png_stack.cpp(18): error C2664: 'void node::NODE_SET_PROTOTYPE_MET
HOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cannot
 convert argument 3 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to 'v8::
FunctionCallback' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\
png.vcxproj]
  ..\src\fixed_png_stack.cpp(18): note: None of the functions with this name in
   scope match the target type
..\src\fixed_png_stack.cpp(19): error C2664: 'void node::NODE_SET_PROTOTYPE_MET
HOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cannot
 convert argument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\Us
ers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\fixed_png_stack.cpp(19): note: None of the functions with this name in
   scope match the target type
..\src\fixed_png_stack.cpp(20): error C2039: 'NewSymbol': is not a member of 'v
8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcx
proj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\fixed_png_stack.cpp(20): error C3861: 'NewSymbol': identifier not found
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(54): error C2248: 'v8::HandleScope::HandleScope': ca
nnot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(58): warning C4530: C++ exception handler used, but
unwind semantics are not enabled. Specify /EHsc [C:\Users\Elad\Desktop\node-png
-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(62): error C2882: 'Buffer': illegal use of namespace
 identifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
..\src\fixed_png_stack.cpp(62): error C2065: 'retbuf': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(62): error C2661: 'node::Buffer::New': no overloaded
 function takes 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
..\src\fixed_png_stack.cpp(63): error C2065: 'retbuf': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(64): error C2039: 'Close': is not a member of 'v8::H
andleScope' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(64): error C2065: 'retbuf': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(64): error C2227: left of '->handle_' must point to
class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
  ..\src\fixed_png_stack.cpp(64): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(72): error C4430: missing type specifier - int assum
ed. Note: C++ does not support default-int [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(72): error C2143: syntax error: missing ',' before '
&' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(74): error C2248: 'v8::HandleScope::HandleScope': ca
nnot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad
\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(76): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(76): error C2228: left of '.Length' must have class/
struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.v
cxproj]
  ..\src\fixed_png_stack.cpp(76): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(78): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(78): error C2227: left of '->IsInt32' must point to
class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(80): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(80): error C2227: left of '->IsInt32' must point to
class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(84): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(84): error C2228: left of '.Length' must have class/
struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.v
cxproj]
  ..\src\fixed_png_stack.cpp(84): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(85): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(85): error C2227: left of '->IsString' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(88): error C2039: 'AsciiValue': is not a member of '
v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\fixed_png_stack.cpp(88): error C2065: 'AsciiValue': undeclared identifie
r [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(88): error C2146: syntax error: missing ';' before i
dentifier 'bts' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\pn
g.vcxproj]
..\src\fixed_png_stack.cpp(88): error C2065: 'args': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(88): error C2227: left of '->ToString' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(88): error C3861: 'bts': identifier not found [C:\Us
ers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(89): error C2065: 'bts': undeclared identifier [C:\U
sers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(90): error C2065: 'bts': undeclared identifier [C:\U
sers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(95): error C2065: 'bts': undeclared identifier [C:\U
sers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(97): error C2065: 'bts': undeclared identifier [C:\U
sers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(99): error C2065: 'bts': undeclared identifier [C:\U
sers\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(101): error C2065: 'bts': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(107): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(107): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(108): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(108): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(112): error C2039: 'Wrap': is not a member of 'Fixed
PngStack' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxp
roj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(9
  ): note: see declaration of 'FixedPngStack'
..\src\fixed_png_stack.cpp(112): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(112): error C2228: left of '.This' must have class/s
truct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
  ..\src\fixed_png_stack.cpp(112): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(113): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(113): error C2228: left of '.This' must have class/s
truct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
  ..\src\fixed_png_stack.cpp(113): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(121): error C4430: missing type specifier - int assu
med. Note: C++ does not support default-int [C:\Users\Elad\Desktop\node-png-mas
ter\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(121): error C2143: syntax error: missing ',' before
'&' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(123): error C2248: 'v8::HandleScope::HandleScope': c
annot access protected member declared in class 'v8::HandleScope' [C:\Users\Ela
d\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(125): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(127): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(127): error C2227: left of '->IsInt32' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(129): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(129): error C2227: left of '->IsInt32' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(131): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(131): error C2227: left of '->IsInt32' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(133): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(133): error C2227: left of '->IsInt32' must point to
 class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-pn
g-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(136): error C2653: 'ObjectWrap': is not a class or n
amespace name [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
..\src\fixed_png_stack.cpp(136): error C2065: 'Unwrap': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(136): error C2275: 'FixedPngStack': illegal use of t
his type as an expression [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
..\src\fixed_png_stack.cpp(136): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(136): error C2228: left of '.This' must have class/s
truct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
  ..\src\fixed_png_stack.cpp(136): note: type is 'unknown-type'
..\src\fixed_png_stack.cpp(137): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(137): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(138): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(138): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(139): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(139): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(140): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(140): error C2227: left of '->Int32Value' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(159): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(159): error C2227: left of '->ToObject' must point t
o class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-p
ng-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(159): error C2064: term does not evaluate to a funct
ion taking 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\b
uild\png.vcxproj]
..\src\fixed_png_stack.cpp(163): error C2660: 'v8::Undefined': function does no
t take 0 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\build
\png.vcxproj]
..\src\fixed_png_stack.cpp(167): error C4430: missing type specifier - int assu
med. Note: C++ does not support default-int [C:\Users\Elad\Desktop\node-png-mas
ter\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(167): error C2143: syntax error: missing ',' before
'&' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(169): error C2248: 'v8::HandleScope::HandleScope': c
annot access protected member declared in class 'v8::HandleScope' [C:\Users\Ela
d\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\fixed_png_stack.cpp(171): error C2653: 'ObjectWrap': is not a class or n
amespace name [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
..\src\fixed_png_stack.cpp(171): error C2065: 'Unwrap': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(171): error C2275: 'FixedPngStack': illegal use of t
his type as an expression [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
..\src\fixed_png_stack.cpp(171): error C2065: 'args': undeclared identifier [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\fixed_png_stack.cpp(171): error C2228: left of '.This' must have class/s
truct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
..\src\fixed_png_stack.cpp(171): fatal error C1003: error count exceeds 100; st
opping compilation [C:\Users\Elad\Desktop\node-png-master\node-png-master\build
\png.vcxproj]
  module.cpp
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(1
4): error C2039: 'ObjectWrap': is not a member of 'node' (compiling source file
 ..\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-
master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(1
4): error C2504: 'ObjectWrap': base class undefined (compiling source file ..\s
rc\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(4
1): error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(4
2): error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\dynamic_png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-mas
ter\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-m
aster\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\dynamic_pn
g_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.v
cxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\node-png-m
aster\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\dynamic_pn
g_stack.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.v
cxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(11):
error C2365: 'BufferData': redefinition; previous definition was 'data variable
' (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData' (compiling source file ..\src\dynamic_
  png_stack.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(12):
error C2365: 'BufferLength': redefinition; previous definition was 'data variab
le' (compiling source file ..\src\dynamic_png_stack.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength' (compiling source file ..\src\dynami
  c_png_stack.cpp)
..\src\dynamic_png_stack.cpp(54): error C2248: 'v8::HandleScope::HandleScope':
cannot access protected member declared in class 'v8::HandleScope' [C:\Users\El
ad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(56): error C2664: 'v8::Local<v8::FunctionTemplate>
 v8::FunctionTemplate::New(v8::Isolate *,v8::FunctionCallback,v8::Local<v8::Val
ue>,v8::Local<v8::Signature>,int,v8::ConstructorBehavior,v8::SideEffectType)':
cannot convert argument 1 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to
 'v8::Isolate *' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  ..\src\dynamic_png_stack.cpp(56): note: There is no context in which this con
  version is possible
..\src\dynamic_png_stack.cpp(58): error C2664: 'void node::NODE_SET_PROTOTYPE_M
ETHOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cann
ot convert argument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\dynamic_png_stack.cpp(58): note: None of the functions with this name
  in scope match the target type
..\src\dynamic_png_stack.cpp(59): error C2664: 'void node::NODE_SET_PROTOTYPE_M
ETHOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cann
ot convert argument 3 from 'v8::Local<v8::Value> (__cdecl *)(const int)' to 'v8
::FunctionCallback' [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
  ..\src\dynamic_png_stack.cpp(59): note: None of the functions with this name
  in scope match the target type
..\src\dynamic_png_stack.cpp(60): error C2664: 'void node::NODE_SET_PROTOTYPE_M
ETHOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cann
ot convert argument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\dynamic_png_stack.cpp(60): note: None of the functions with this name
  in scope match the target type
..\src\dynamic_png_stack.cpp(61): error C2664: 'void node::NODE_SET_PROTOTYPE_M
ETHOD(v8::Local<v8::FunctionTemplate>,const char *,v8::FunctionCallback)': cann
ot convert argument 3 from 'overloaded-function' to 'v8::FunctionCallback' [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  ..\src\dynamic_png_stack.cpp(61): note: None of the functions with this name
  in scope match the target type
..\src\dynamic_png_stack.cpp(62): error C2039: 'NewSymbol': is not a member of
'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.v
cxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(62): error C3861: 'NewSymbol': identifier not foun
d [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(77): warning C4530: C++ exception handler used, bu
t unwind semantics are not enabled. Specify /EHsc [C:\Users\Elad\Desktop\node-p
ng-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(80): error C2660: 'v8::Undefined': function does n
ot take 0 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
..\src\dynamic_png_stack.cpp(90): error C2248: 'v8::HandleScope::HandleScope':
cannot access protected member declared in class 'v8::HandleScope' [C:\Users\El
ad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(114): error C2882: 'Buffer': illegal use of namesp
ace identifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-ma
ster\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(114): error C2065: 'retbuf': undeclared identifier
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(114): error C2661: 'node::Buffer::New': no overloa
ded function takes 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-
master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(115): error C2065: 'retbuf': undeclared identifier
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(116): error C2039: 'Close': is not a member of 'v8
::HandleScope' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(116): error C2065: 'retbuf': undeclared identifier
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(116): error C2227: left of '->handle_' must point
to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-
png-master\build\png.vcxproj]
  ..\src\dynamic_png_stack.cpp(116): note: type is 'unknown-type'
..\src\dynamic_png_stack.cpp(126): error C2248: 'v8::HandleScope::HandleScope':
 cannot access protected member declared in class 'v8::HandleScope' [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(128): error C2660: 'v8::Object::New': function doe
s not take 0 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\b
uild\png.vcxproj]
..\src\dynamic_png_stack.cpp(129): error C2039: 'NewSymbol': is not a member of
 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(129): error C3861: 'NewSymbol': identifier not fou
nd [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(129): error C2660: 'v8::Integer::New': function do
es not take 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\dynamic_png_stack.cpp(130): error C2039: 'NewSymbol': is not a member of
 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(130): error C3861: 'NewSymbol': identifier not fou
nd [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(130): error C2660: 'v8::Integer::New': function do
es not take 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\dynamic_png_stack.cpp(131): error C2039: 'NewSymbol': is not a member of
 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(131): error C3861: 'NewSymbol': identifier not fou
nd [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(131): error C2660: 'v8::Integer::New': function do
es not take 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\dynamic_png_stack.cpp(132): error C2039: 'NewSymbol': is not a member of
 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(132): error C3861: 'NewSymbol': identifier not fou
nd [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(132): error C2660: 'v8::Integer::New': function do
es not take 1 arguments [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\dynamic_png_stack.cpp(134): error C2039: 'Close': is not a member of 'v8
::HandleScope' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(138): error C4430: missing type specifier - int as
sumed. Note: C++ does not support default-int [C:\Users\Elad\Desktop\node-png-m
aster\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(138): error C2143: syntax error: missing ',' befor
e '&' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(140): error C2248: 'v8::HandleScope::HandleScope':
 cannot access protected member declared in class 'v8::HandleScope' [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(143): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(143): error C2228: left of '.Length' must have cla
ss/struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\pn
g.vcxproj]
  ..\src\dynamic_png_stack.cpp(143): note: type is 'unknown-type'
..\src\dynamic_png_stack.cpp(144): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(144): error C2227: left of '->IsString' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(147): error C2039: 'AsciiValue': is not a member o
f 'v8::String' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(2509): note: see declaration
   of 'v8::String'
..\src\dynamic_png_stack.cpp(147): error C2065: 'AsciiValue': undeclared identi
fier [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(147): error C2146: syntax error: missing ';' befor
e identifier 'bts' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build
\png.vcxproj]
..\src\dynamic_png_stack.cpp(147): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(147): error C2227: left of '->ToString' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(147): error C3861: 'bts': identifier not found [C:
\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(148): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(149): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(154): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(156): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(158): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(160): error C2065: 'bts': undeclared identifier [C
:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(167): error C2039: 'Wrap': is not a member of 'Dyn
amicPngStack' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h
  (14): note: see declaration of 'DynamicPngStack'
..\src\dynamic_png_stack.cpp(167): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(167): error C2228: left of '.This' must have class
/struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  ..\src\dynamic_png_stack.cpp(167): note: type is 'unknown-type'
..\src\dynamic_png_stack.cpp(168): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(168): error C2228: left of '.This' must have class
/struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  ..\src\dynamic_png_stack.cpp(168): note: type is 'unknown-type'
..\src\dynamic_png_stack.cpp(172): error C4430: missing type specifier - int as
sumed. Note: C++ does not support default-int [C:\Users\Elad\Desktop\node-png-m
aster\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(172): error C2143: syntax error: missing ',' befor
e '&' [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(174): error C2248: 'v8::HandleScope::HandleScope':
 cannot access protected member declared in class 'v8::HandleScope' [C:\Users\E
lad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\dynamic_png_stack.cpp(176): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(178): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(178): error C2227: left of '->IsInt32' must point
to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-
png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(180): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(180): error C2227: left of '->IsInt32' must point
to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-
png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(182): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(182): error C2227: left of '->IsInt32' must point
to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-
png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(184): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(184): error C2227: left of '->IsInt32' must point
to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-
png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(187): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(187): error C2227: left of '->Int32Value' must poi
nt to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\no
de-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(188): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(188): error C2227: left of '->Int32Value' must poi
nt to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\no
de-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(189): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(189): error C2227: left of '->Int32Value' must poi
nt to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\no
de-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(190): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(190): error C2227: left of '->Int32Value' must poi
nt to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\no
de-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(201): error C2653: 'ObjectWrap': is not a class or
 namespace name [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\pn
g.vcxproj]
..\src\dynamic_png_stack.cpp(201): error C2065: 'Unwrap': undeclared identifier
 [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(201): error C2275: 'DynamicPngStack': illegal use
of this type as an expression [C:\Users\Elad\Desktop\node-png-master\node-png-m
aster\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(201): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(201): error C2228: left of '.This' must have class
/struct/union [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.
vcxproj]
  ..\src\dynamic_png_stack.cpp(201): note: type is 'unknown-type'
..\src\dynamic_png_stack.cpp(203): error C2065: 'args': undeclared identifier [
C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(203): error C2227: left of '->ToObject' must point
 to class/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node
-png-master\build\png.vcxproj]
..\src\dynamic_png_stack.cpp(203): fatal error C1003: error count exceeds 100;
stopping compilation [C:\Users\Elad\Desktop\node-png-master\node-png-master\bui
ld\png.vcxproj]
  buffer_compat.cpp
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): error C2039
: 'ObjectWrap': is not a member of 'node' (compiling source file ..\src\module.
cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(9): error C2504
: 'ObjectWrap': base class undefined (compiling source file ..\src\module.cpp)
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(15): error C206
1: syntax error: identifier 'uv_work_t' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(16): error C206
1: syntax error: identifier 'uv_work_t' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(22): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(23): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C203
9: 'Arguments': is not a member of 'v8' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C443
0: missing type specifier - int assumed. Note: C++ does not support default-int
 (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\png.h(24): error C214
3: syntax error: missing ',' before '&' (compiling source file ..\src\module.cp
p) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(9):
 error C2039: 'ObjectWrap': is not a member of 'node' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(9):
 error C2504: 'ObjectWrap': base class undefined (compiling source file ..\src\
module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vc
xproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(14)
: error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(15)
: error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(25)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(26)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(27)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop\n
ode-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\fixed_png_stack.h(28)
: error C2143: syntax error: missing ',' before '&' (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(1
4): error C2039: 'ObjectWrap': is not a member of 'node' (compiling source file
 ..\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\buil
d\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(1
4): error C2504: 'ObjectWrap': base class undefined (compiling source file ..\s
rc\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png
.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(4
1): error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(4
2): error C2061: syntax error: identifier 'uv_work_t' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
4): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
5): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
6): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
7): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C2039: 'Arguments': is not a member of 'v8' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node.h(101): note: see declaratio
  n of 'v8' (compiling source file ..\src\module.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C4430: missing type specifier - int assumed. Note: C++ does not suppo
rt default-int (compiling source file ..\src\module.cpp) [C:\Users\Elad\Desktop
\node-png-master\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\dynamic_png_stack.h(5
8): error C2143: syntax error: missing ',' before '&' (compiling source file ..
\src\module.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\p
ng.vcxproj]
..\src\module.cpp(10): error C2248: 'v8::HandleScope::HandleScope': cannot acce
ss protected member declared in class 'v8::HandleScope' [C:\Users\Elad\Desktop\
node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
  win_delay_load_hook.cc
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\buffer_compat.cpp) [C:\Users\Elad\Desktop\node-png-maste
r\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\buffer_com
pat.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxpr
oj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2882: 'Buffer': illegal use of namespace identifier in expression (compil
ing source file ..\src\buffer_compat.cpp) [C:\Users\Elad\Desktop\node-png-maste
r\node-png-master\build\png.vcxproj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9): e
rror C2065: 'b': undeclared identifier (compiling source file ..\src\buffer_com
pat.cpp) [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxpr
oj]
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(11):
error C2365: 'BufferData': redefinition; previous definition was 'data variable
' (compiling source file ..\src\buffer_compat.cpp) [C:\Users\Elad\Desktop\node-
png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData' (compiling source file ..\src\buffer_c
  ompat.cpp)
c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(12):
error C2365: 'BufferLength': redefinition; previous definition was 'data variab
le' (compiling source file ..\src\buffer_compat.cpp) [C:\Users\Elad\Desktop\nod
e-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength' (compiling source file ..\src\buffer
  _compat.cpp)
..\src\buffer_compat.cpp(11): error C2882: 'Buffer': illegal use of namespace i
dentifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\buffer_compat.cpp(11): error C2065: 'b': undeclared identifier [C:\Users
\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(11): error C2374: 'BufferData': redefinition; multiple
 initialization [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\pn
g.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData'
..\src\buffer_compat.cpp(11): error C2448: 'BufferData': function-style initial
izer appears to be a function definition [C:\Users\Elad\Desktop\node-png-master
\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(16): error C2882: 'Buffer': illegal use of namespace i
dentifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\buffer_compat.cpp(16): error C2065: 'b': undeclared identifier [C:\Users
\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(16): error C2374: 'BufferLength': redefinition; multip
le initialization [C:\Users\Elad\Desktop\node-png-master\node-png-master\build\
png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength'
..\src\buffer_compat.cpp(16): error C2448: 'BufferLength': function-style initi
alizer appears to be a function definition [C:\Users\Elad\Desktop\node-png-mast
er\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(21): error C2365: 'BufferData': redefinition; previous
 definition was 'data variable' [C:\Users\Elad\Desktop\node-png-master\node-png
-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(8):
   note: see declaration of 'BufferData'
..\src\buffer_compat.cpp(22): error C2248: 'v8::HandleScope::HandleScope': cann
ot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\buffer_compat.cpp(23): error C2882: 'Buffer': illegal use of namespace i
dentifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\buffer_compat.cpp(23): error C2065: 'buf': undeclared identifier [C:\Use
rs\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(23): error C3083: 'ObjectWrap': the symbol to the left
 of a '::' must be a type [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
..\src\buffer_compat.cpp(23): error C2039: 'Unwrap': is not a member of 'node'
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node'
..\src\buffer_compat.cpp(23): error C2065: 'Unwrap': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(24): error C2065: 'buf': undeclared identifier [C:\Use
rs\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(24): error C2227: left of '->data' must point to class
/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-mast
er\build\png.vcxproj]
  ..\src\buffer_compat.cpp(24): note: type is 'unknown-type'
..\src\buffer_compat.cpp(28): error C2365: 'BufferLength': redefinition; previo
us definition was 'data variable' [C:\Users\Elad\Desktop\node-png-master\node-p
ng-master\build\png.vcxproj]
  c:\users\elad\desktop\node-png-master\node-png-master\src\buffer_compat.h(9):
   note: see declaration of 'BufferLength'
..\src\buffer_compat.cpp(29): error C2248: 'v8::HandleScope::HandleScope': cann
ot access protected member declared in class 'v8::HandleScope' [C:\Users\Elad\D
esktop\node-png-master\node-png-master\build\png.vcxproj]
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(881): note: see declaration
  of 'v8::HandleScope::HandleScope'
  c:\users\elad\.node-gyp\10.0.0\include\node\v8.h(862): note: see declaration
  of 'v8::HandleScope'
..\src\buffer_compat.cpp(30): error C2882: 'Buffer': illegal use of namespace i
dentifier in expression [C:\Users\Elad\Desktop\node-png-master\node-png-master\
build\png.vcxproj]
..\src\buffer_compat.cpp(30): error C2065: 'buf': undeclared identifier [C:\Use
rs\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(30): error C3083: 'ObjectWrap': the symbol to the left
 of a '::' must be a type [C:\Users\Elad\Desktop\node-png-master\node-png-maste
r\build\png.vcxproj]
..\src\buffer_compat.cpp(30): error C2039: 'Unwrap': is not a member of 'node'
[C:\Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
  C:\Users\Elad\.node-gyp\10.0.0\include\node\node_buffer.h(28): note: see decl
  aration of 'node'
..\src\buffer_compat.cpp(30): error C2065: 'Unwrap': undeclared identifier [C:\
Users\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(31): error C2065: 'buf': undeclared identifier [C:\Use
rs\Elad\Desktop\node-png-master\node-png-master\build\png.vcxproj]
..\src\buffer_compat.cpp(31): error C2227: left of '->length' must point to cla
ss/struct/union/generic type [C:\Users\Elad\Desktop\node-png-master\node-png-ma
ster\build\png.vcxproj]
  ..\src\buffer_compat.cpp(31): note: type is 'unknown-type'
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` fail
ed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Elad\AppData\Roaming\npm\nod
e_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:225:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\nodejs32\\node.exe" "C:\\Users\\Elad\\AppData\\Roaming\\np
m\\node_modules\\node-gyp\\bin\\node-gyp.js" "build"
gyp ERR! cwd C:\Users\Elad\Desktop\node-png-master\node-png-master
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

C:\Users\Elad\Desktop\node-png-master\node-png-master>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.