Comments (3)
I'm not sure why nobody is saying it, but clearly (pun intended) it is a lack of JPEGView having transparency support for webp images. A few other image formats have the same issue.
The following issue I posted is for a problem with the TransparencyColor setting in the JPEGView.ini file not working to change the background color of transparent portions of images. It is a problem with a few image formats including webp. PNG and TIFF files seem to be the only 2 transparency capable image formats for which JPEGView supports transparency. Detailed info about the lack of transparency support is in my post.
#13
As for the red outline of the top circle looking extremely degraded, and the grey which shouldn't exist on the outside of the red outline and on the outside of the outline of the square; all those things are coming from the fact that the completely 100% transparent parts around the shapes need to be rendered as completely 100% solid by the webp codec. Since transparency is not being rendered along with the image, some color has to be chosen to replace the transparent parts. Therefore the black you are seeing is not even comming from the Transparencycolor setting in the JPEGView.ini file or any other setting, and the black background cannot have it's color changed.
I imagine it is the codec that is choosing that color (or colors in the case of webp) to replace/render the transparent parts with rather than the programming in JPEGView, which I say because not all formats with this same issue will choose black as the color to replace the transparent parts of the image, and my webp image in the attached zip file in issue 13 replaced the fully transparent part with a weird pattern of colors.
So considering my webp image from issue 13, it is clear to me that for c-sanchez's image, the grey color on the outside of the circle and square outlines is just a different color being chosen to replace/render the pixels of that particular transparent part. And the same goes for the extremely degraded red outline of the upper circle, where the red color is chosen for some random pixels on the outer edge of the red outline. So the red outline is not even degraded, which you can see since the inner edge of the red outline looks perfectly fine.
So all you need to do is program support for transparency, and then every part of the image will render properly.
from jpegview.
I've verified this bug with JPEGView. I'll see what I can dig up when I have time, but this is probably more advanced than I can handle at this point
from jpegview.
@c-sanchez thanks for the bug report. This is now closed by @KrokusPokus PR #27 and verified against the test image
from jpegview.
Related Issues (20)
- Duplicate entry in Windows 11's Default apps list HOT 1
- [BUG] Flickering when zooming HOT 3
- [SUGGESTON] Consistent image size: KeepParameters improvement
- option to disable image smoothing -- for viewing sprites HOT 2
- Can the BackgroundColor support RGBA ? HOT 3
- advices
- [Request] supports stop/play the GIF HOT 1
- [request] Open containing folder in Explorer 2 - in a new window
- Overwrite image without dialog or prompt does not work? HOT 2
- [request] is it possible to add a feature to support comic format files like cbz and cbr (actually zip and rar)
- Unable to Set JPEGView as the Default Software on Windows 11
- KeepParameters=false didn't work on gif
- File size is missing in Info Box
- [Feature Request] Option for a custom image association icon HOT 1
- HEIC image not rotated
- setting DefaultWindowRect=sticky saves JPEGView.ini.tpl to %APPDATA%\JPEGView\JPEGView.ini
- 書庫、暗号化書庫は読めないんですか?(Any changce to support ZIP/RAR/7Z archive files?or encrypted archive files?)(压缩包和加密压缩包能支持一下吗?)
- Loseless transformations feature requet
- how to set up to delete without confirm? HOT 3
- EXIF Orientation tag doesn't yet support mirroring
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 jpegview.