开发者

How can I read image from Stream with ImageMagick.Net library

开发者 https://www.devze.com 2022-12-20 19:47 出处:网络
I have a stream that has a picture. I need to write this picture to disk with a name in the format: \"width x height\".

I have a stream that has a picture. I need to write this picture to disk with a name in the format: "width x height".

The problem that I'm getting the picture dimensions with ImageMagick. but ImageMagick cannot read files from the memory, but only from the disk.

Is the only solution is to create a temp file, read it, and write another one?

Is their any be开发者_开发技巧tter solution?

Edit: this project do support using streams, but it's older them ImageMagick.net and have another drawbacks.

0

精彩评论

暂无评论...
验证码 换一张
取 消