[nodejs] Re: node-gd does not work.

2014-08-27 Thread Mr G
Hi, Did you get anywhere with this? I have a similar problem. png is set to null when trying to open the image file, var projectRootServer="../../../../../server/"; var source=projectRootServer+"forrest.png"; var target=projectRootServer+'privateimages/target_image.png'; var gd

Re: [nodejs] Re: node-gd does not work.

2014-02-13 Thread Alex Kocharin
What node-gd are we talking about? taggon/node-gd? mikesmullin/node-gd? andris9/node-gd? hanssonlarsson/node-gd? Okay, I see it's the first one. I just mistook it for https://npmjs.org/package/node-gd . npm registry needs namespaces :P On Thursday, February 13, 2014 1:14:25 PM UTC+4, Luca M

Re: [nodejs] Re: node-gd does not work.

2014-02-13 Thread Luca Morettoni
On 13 February 2014 10:12, Alex Kocharin wrote: > First argument of openPng is an error. If you don't have an error, it will > be undefined. https://github.com/taggon/node-gd#using-gd I think the Michel code is ok... later I'll try to run the example locally... -- Luca Morettoni | http://www.

[nodejs] Re: node-gd does not work.

2014-02-13 Thread Alex Kocharin
First argument of openPng is an error. If you don't have an error, it will be undefined. PS: I think "node-gd" library is a great example of why npm should have namespaces :P On Thursday, February 13, 2014 12:59:58 PM UTC+4, Michel Morelli wrote: > > Hi all, I’m creating a little node.js app