Asynchronous GraphicsMagick For Node

后端 未结 3 2015
甜味超标
甜味超标 2020-12-21 13:12

I am using GraphicsMagick for node. I basically crop the photos and retrieve the exif data of the photos uploaded by the user. I don\'t want to block the flow of request wai

3条回答
  •  盖世英雄少女心
    2020-12-21 13:51

    Sorry my observation was mistaken, though the GraphicsMagick module seems as synchronous function but they are not. They spawn child process each time manipulation is done. And this has been confirmed here.

    So anyone else looking for this problem, GraphicsMagick functions are Asynchronous. And you don't have to do anything from your part. Its a very good module and worth checking out.

    Thanks.

提交回复
热议问题