Comments (7)
You can try the latest master with blending of grayscale images.
from sail.
I agree there are some blending issues. I've just fixed a memory corruption issue (at least on MSVC 2019) on free()
and allowed blending for BPP16-GRAYSCALE-ALPHA
and BPP32-GRAYSCALE-ALPHA
pixel formats. I will probably continue looking into it (sorry cannot guarantee).
Regarding the 8-bit greyscale and alpha, with blending image: it has three frames:
- The first frame is hidden.
- The second frame is black (gray component: 0, alpha: 255), blending mode:
over
. - The 3rd frame consists of semi-transparent white pixels which will look like gray after blending with black pixels (gray component: 255, alpha: 128), blending mode:
over
.
https://philip.html5.org/tests/apng/tests.html specifies that the image should be rendered as This should be solid grey.
but I have a question why 🤔 The second frame is black. The third (blended) frame is gray. I would expect flashing black and gray frames and this is what I see currently in the local fixed SAIL version.
from sail.
If the image viewer respects num_plays
in the acTL chunk then it should just play once and pause on the last frame.
from sail.
Oh, I see. This explains a lot. The next rc will have blending of grayscale frames and I'll add num_plays as a special property for those who are interested.
from sail.
Did you install sail through vcpkg?
from sail.
No, I built it from source.
from sail.
Please reopen if needed
from sail.
Related Issues (20)
- Add PSD file preview reader
- Codec validation error HOT 2
- [Documentation] An error in the macOs->HomeBrew installation command HOT 1
- Allow compiling dependencies for codecs into single library HOT 2
- including sail.h when using vcpkg HOT 2
- Passing string as path into image constructor ends up with random characters HOT 5
- Reorganize includes to use prefixes
- Inspect nanosvg as another SVG renderer (preserving resvg) HOT 1
- Inspect OpenMP for sail-manip conversions
- Add PNM support
- "make test" fails if "make install" is not done HOT 4
- Investigate OpenMP flags correctness HOT 2
- Cannot open files with non-ASCII paths on Windows HOT 2
- _SH_DENYWR undeclared when building with MinGW-w64 HOT 1
- feature/tga_save
- PCX format issue (incorrect palette) HOT 4
- Creating blank image for manipulation HOT 3
- feature/image.mirror_vertically/horizontally for sail++
- Created an AUR package, is this workaround needed? HOT 2
- When building SAIL as dynamic library with VCPKG it is built as a static library HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sail.