search

Home  >  Q&A  >  body text

node.js - nodejs模块jpegicc怎么安装?

1、我想安装这个jpegicc模块,但是看了文档还是不明白怎么安装。文档地址

我下载了那个Little CMS,但不懂怎么安装它,弄不懂下面这三行命令是什么意思:

./configure
make
make install

2、我之所以装这个模块,是想将RGB格式的图片转化成CMYK格式的图片,所以找到了这个模块,有谁知道有什么其他的办法转化它们吗?

阿神阿神2785 days ago448

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-17 15:26:56

    Just do npm install jpegicc in your project's root dir. It seems the lib have some dependencies on "little cms", you need to download the zipfile and follow the command.

    make connects the libs to the source and creates the required links and sets it up for the final phase it also parses the human readable to machine readable

    make install This is the final phase where the compiler will create the binary files and moves all required files / executable and associated libs to their appropriate directories.

    reply
    0
  • Cancelreply