Fredrik Schultz

Results 11 comments of Fredrik Schultz

Ran into this as well, seems to be related to using external packages with more modern EcmaScript syntax. This post includes a work-around to fix it: https://github.com/sanity-io/sanity/issues/2092#issuecomment-1017433178

Hi Wolfgang, Nice to hear from you again. I haven't seen this error before, but I hope that we can get it solved as soon as possible. As the exception...

The easiest and most efficient way is to call the GetAsBitmap() function on the KalikoImage instance and pass the result to PictureBox.Image: ` pictureBox.Image = kalikoImage.GetAsBitmap();`

Unfortunately I suspect that the use of System.Drawing prevents it from running on other platforms (since - as far as I know - there isn't any portable version of that...

Hi! Yes, I'm planning to replace the GDI+ parts in order to make the library .NET Standard compatible and more portable. Unfortunately I haven't had the time to do the...

I'm currently working on a new version that is .NET Core compatible. The GDI+ requirement has been decoupled by using the System.Drawing.Common package, which also supports Xamarin. So the current...

Unfortunately I'm a little behind on documenting the API with examples, but until I get around, here's how to use the chroma key filter (chroma.jpg being a green screen image):...

Yes, you could load your jpg file and use the BlitImage function (http://kaliko.com/image-library/api/kaliko.imagelibrary/kaliko.imagelibrary.kalikoimage/blitimage/) to paste your chroma keyed image on top of it before saving. Code-wise it would look something...

Internally the library works with rgba-format. Unfortunately the PNG-encoder in GDI+ ignore the Encoder.ColorDepth parameter which otherwise would have been a good idea to use. The solution is to copy...

When doing a second write to the memory stream it seems that it append the second image after the first one and when the image is retrieved to the bitmap...