Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8202203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T07:05:44+00:00 2026-06-07T07:05:44+00:00

I have node.js installed on one server. I have graphicsmagick https://github.com/aheckmann/gm installed on another

  • 0

I have node.js installed on one server. I have graphicsmagick https://github.com/aheckmann/gm installed on another server. The graphics files themselves are also stored on the graphicsmagick server. I want to install & setup the node gm module so that the work/processing is done on the graphicsmagick server. However, after reading through the documentation, I don’t see how to do this. Of course, I can install graphicsmagic on the same server as node, and have it work properly. But I don’t want to have the heavy image processing happening on the same server as node. Is this possible to separate the two?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T07:05:46+00:00Added an answer on June 7, 2026 at 7:05 am

    the gm module is not a server, you need to write a service to manipulate the images with gm.

    Something like this using express.js:

    var express = require('express');
    
    var app = express.createServer();
    
    app.get('/:image', function (req, res, next) {
      // set headers here
    
      gm('/path/to/my/' + req.params.image)
        .resize('200', '200')
        .stream(function (err, stdout, stderr) {
          if (err) next(err);
          stdout.pipe(res);
        });
    });
    
    app.listen(8000);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed redis by following links . https://github.com/mranney/node_redis and trying var redis =
I'm trying to pull a gzipped json file from http://api.discogs.com/release/339901 . I have https://github.com/waveto/node-compress
I have installed a program called node.js on my server to listen on port
I have a perl script (call it worker) installed on each node/machine (4 total)
I have a few installs—notably Node, MacVim, and Taskwarrior—which I installed through the installers
I have a Node.js web server running on an embedded Linux system. For authentication
I have two separate installs of WebSphere. (Actually one is WebSphere Application Server V6.1
I have a server with a weird internal version of MySQL installed and want
Have installed Node version manager 'n'. Installed 'mocha' using n npm 0.6.4 install mocha
I have installed latest version of Node.js and I still have problems with SSL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.