Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: How do I update a preview window from imagemagick?

$
0
0
This is the error thrown:
Exception thrown: 'ImageMagick.MagickCoderErrorException' in Magick.NET-Q8-x64.dll
Exception type ImageMagick.MagickCoderErrorException
Exception message: WriteBlob Failed `foo.png' @ error/png.c/MagickPNGErrorHandler/1650
Stack trace:    at ImageMagick.MagickExceptionHelper.Check(IntPtr exception)
   at ImageMagick.MagickImage.NativeMagickImage.WriteFile(MagickSettings settings)
   at phVer.frmMain.btnGenerate_Click(Object sender, EventArgs e) in C:\Users\jweinraub\documents\visual studio 2015\Projects\phVer\phVer\Form1.cs:line 88
---BEGIN InnerException--- 
Exception type ImageMagick.MagickBlobErrorException
Exception message: unable to open image 'foo.png': Permission denied @ error/blob.c/OpenBlob/2695
Stack trace: 
---END Inner Exception
Line 88 is the result.write, but the file itself writes fine as i can go to explorer and see the changes went into effect, i cant reflect the changes in the panel control. how do i go by updating hte panel with the same file, as using a temp file, disposing, cloning, or increment a timestamp as a suffix seems like a cop out as there should be a more correct way of handling it (or at least more elegant)

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>