开发者

Bitmap from image to path back to image... no reference

开发者 https://www.devze.com 2023-03-01 08:43 出处:网络
Basically, I\'m using magick++ in visual studio 2010. Magick++ can only read images from filepaths. So, in this object there are two images, The first one is saved to a path.

Basically, I'm using magick++ in visual studio 2010. Magick++ can only read images from filepaths.

So, in this object there are two images, The first one is saved to a path.

Magick reads this path, analyzes the image, and then the analyzed image is currently a path i.e. "C:\USERS\theImg.png", what i want to do is take theImg.png and set it to the second bitmap (already using: System::Drawing::Bitmap^ bmp = gcnew System::Drawing::Bitmap("dud2开发者_高级运维.png") and then objectInQuestion->imgs->analyzed img = bmp), but when this runs through a loop since this has to be done mutliple times, dud2.png is never overwritten.

0

精彩评论

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