libgdiplus
libgdiplus copied to clipboard
C-based implementation of the GDI+ API
https://github.com/mono/libgdiplus/blob/0477843237ea7168d345bfe7f9ee2f13cd315130/src/jpegcodec.c#L452 ``` if (cinfo.saw_Adobe_marker) { b = (k * c) / 255; g = (k * m) / 255; r = (k * y) / 255; } else { b...
When animating a GIF that has only a portion of the image update from one frame to the next, only the updated portion of the image is rendered on the...
The GIF `PropertyTagLoopCount` Property Item is always returning 0, even when a loop count is specified within the image. This was discovered on Ubuntu 20.04 using the following test image....
The GIF `PropertyTagFrameDelay` Property Item is returning only the first frame delay instead of the frame delays for all frames. Given a GIF that has varying frame delays, the expectation...
## dockerfile ``` FROM microsoft/dotnet:2.1-aspnetcore-runtime-alpine3.7 AS base WORKDIR /docker EXPOSE 5000 RUN echo 'http://mirrors.aliyun.com/alpine/v3.7/main' > /etc/apk/repositories && \ echo 'http://mirrors.aliyun.com/alpine/v3.7/community' >> /etc/apk/repositories && \ echo 'http://mirrors.aliyun.com/alpine/edge/testing' >> /etc/apk/repositories && \...
This fixes the wrong font-weight from issue #626 Sadly I it breaks the tests, but it does render the font as Bold. I'll check what's wrong with the tests. Is...
This should fix #692. I've changed `GpFontFamily` implementation, so that it keeps tracks of all fonts of the same family. I've also changed FontFamily functions so that they handle style...
This should fix #690. I've added a list of strings that should go along with the `GpFontCollection`, this list are the temporary files created by the `GdipPrivateAddMemoryFont` function. When `Dispose`...
This adds a unit test for `GdipDrawImageRectRectI`. It will resize a white rectangle and draw it on top of a black image, and asserts that the result is (more or...
I'm trying to troubleshoot a regression similar to #672 in libgdiplus 6.0.4. I spent some time getting the Google Tests to work properly in Visual Studio and fighting vcpkg. This...