Comments (4)
It's not expected, but I am not surprised either.
While xwallpaper uses pixman for processing of images, feh uses imlib2. There is no feature to blur or anti-alias images with pixman -- although filter and dither are possible.
I doubt that I can do much about this. But it would be nice if you can give me a link to the original wallpaper and your output of xwallpaper --debug --zoom so I know what kind of resolution you use. Maybe there is something that can be done about the filter settings.
By the way, if you use hsetroot for testing, chances are that you see this sharp output as well. Just like feh, hsetroot uses imlib2 but you can modify the imlib2 settings on the command line.
from xwallpaper.
Oh my bad, i did not look into the source code before and i don't know much about pixman.
By the way, this is the output of xwallpaper --debug --zoom
loading Earth & The Satelite.png
output detected: VGA1, 1366x768+0+0
(randr) screen dimensions: 1366x768+0+0
reusing atom pixmap (1366x768)
composing Earth & The Satelite.png for VGA1 (area 1366x768+0+0) (mode 6)
xcb image (1366x768) to VGA1 (1366x768+0+0)
put image request parameters:
maximum request length allowed for server (32 bits): 4194303
maximum length for row data: 16777188
length of rows in image: 5472
maximum height to send: 3066
put image (1366x768+0+0) to VGA1 (1366x768+0+0)
I can't get where I got the image from, but this image gives the same result.
from xwallpaper.
Thank you for supplying an example image. I can easily see the effect and comparing it with feh and hsetroot now.
Unfortunately I have no solution yet. I can adjust the filter with pixman to use a gaussian kernel actually. But to get a result comparable with feh and hsetroot, xwallpaper becomes veeery slow. It is actually the kind of performance you get when opening that file with chromium. My assumption is that it somewhere uses pixman through cairo as well.
So right now I can only recommend to a) scale the image down so the "best" i.e. bilinear filter of pixman already takes effect or b) use feh or hsetroot. I have to admit that imlib2 does a great job here.
When I have a proper solution or when I dived deeper into imlib2 and cairo internals, I'll give an update. :)
from xwallpaper.
Thank you, actually i use xwallpaper because it's performance, maybe i have to dig deeper about pixman
from xwallpaper.
Related Issues (20)
- xwallpaper: failed to parse wallpaper.jpg on centos HOT 1
- Exit code 1 for "output not found" HOT 2
- Bad System Call (core dumped) HOT 10
- Include dependencies in readme.md HOT 10
- Set wallpaper for a subset of outputs, leaving the others as is HOT 2
- bad system call HOT 6
- xwallpaper leaks/doesn't free xresources HOT 8
- xwallpaper --daemon does not release pixmap atoms if killed by X client HOT 1
- Does it work on Ubuntu? HOT 4
- Request: support for webp images HOT 2
- Wallpaper simply does not change HOT 2
- getting invalid system call HOT 6
- Debug seems like it but I do not see the wallpaper HOT 4
- Wallpaper is reset immediately by desktop environment HOT 3
- Add HEIF support HOT 1
- Regarding different images for different monitors HOT 1
- Path of currently used wallpaper HOT 1
- JPEG XL support HOT 1
- Wallpaper is reset when OS is restarted HOT 2
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 xwallpaper.