我试图在Linux上压缩图像,特别是使用compress命令,但它没有工作。请您根据下面的输出,建议我做错了什么,以及如何修复它,以便具体使用该方法进行压缩?
非常感谢
[root@localhost Downloads]# compress -v Engineers.png Engineers.png2
Engineers.png: No compression -- Engineers.png unchanged
Engineers.png2: No such file or directory
我正在使用watson-developer-cloud npm模块调用IBM问答API。调用服务的代码如下:
question_and_answer_healthcare.ask({
text: 'What are the benefits of taking aspirin daily?'}, function (err, response) {
if (err)
console.log('error:', err);
else {
console.log(JSON.stringify(response, null, 2));
我想我会发布这个问答,因为关于在windows上使用中间人的信息非常少(具体来说,我使用的是windows 7 ),而且我无法在网上找到解决方案,但我自己想出了办法。
启动中间人服务器并接收:
The Middleman is Standing Watch at http://0.0.0.0:4567
我无法查看网页,简单地说,没有任何负载。我关闭了防火墙,消除了它的潜在问题,并尝试在另一个端口上运行服务器。我还是什么都没有。