-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to select fit size / wallpaper mode #89
Comments
Try adding a new filter. Add the following line to
@peterlevi and @jlu5 could this filter become native? |
@pauloalves86 AFAIK the intention of this issue is to eventually add abstraction so that we can switch between wallpaper modes provided by a DE instead of modifying the image ourselves. |
Sorry, I misunderstood, but do you think this Smart Fit worth an issue? |
Related: #96 (comment)
|
I use imagemagik to fit my images to the screen. The code goes into the script directory. Ì will post the code if anyone asks. |
Please post the code with a description, or working examples. |
I doubt images will not look blurry if they are in portrait mode, so repeat image would still be good IMO. |
/usr/bin/mogrify -resize 1400x800 $WP Notes:
|
/usr/bin/mogrify -resize 1400x800 $WP
/usr/bin/mogrify -font helvetica -fill white -pointsize 20 -gravity center
-draw "text 0,300 '$3'" $WP
Notes:
The lines go after the WP=$1 line.
The first line sets the size and the second line puts the file path and
name on the wallpaper.
Either line may be commented out or modified as needed.
The resize line will need to be adjusted to your monitor size. I have two
monitors and I set it to the size of the smaller one.
…On Fri, May 1, 2020 at 10:58 AM Lyubomir Parvanov ***@***.***> wrote:
I use imagemagik to fit my images to the screen. The code goes into the
script directory. Ì will post the code if anyone asks.
I doubt images will not look blurry if they are in portrait mode, so
repeat image would still be good IMO.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAK3XEZ55HXCEC5LFIDY66TRPMES3ANCNFSM4FZU4PXA>
.
--
Douglas B Kaynor
doug@kaynor.net
|
THIS!!! It fixed my particular display challenge and completely changed my experience with the program. Will post my hardware spec, if req'd. But its basically HP All-in-one Touch with int NVidia Geforce 9600M GS, running Ubuntu 20.04 @ 1600x1200 (to which I edited the line to match my reqs). Not your typical setup. So good now, I'm donating! |
[Just donated] It'd be nice if there was a button to auto-fit vs fill vs original-size that could be applied before the filters, rather than having to go in and add the resizing to all the images manually. |
I just found this after suffering for a while, it helped immensely. Is there interest to make this filter built-in? I can make a PR if so. |
@peterlevi, thanks for putting together such an awesome tool. I'm just writing to bump this issue. I came here looking for a way to center and upsize images without any cropping/overflow, so that wallpapers with various aspect ratios can be displayed without loss of image content. A quick search shows many related issues (1, 2, 3, 4, 5, 6, 7, ...). The patch suggested above (creating additional ImageMagick filters) isn't perfect, but it mostly does the job; the major hangups seem to be the fact that filters are applied randomly, and .... learning ImageMagick. I suspect that including image resizing, tiling, stretching, etc (the most common wallpaper choices) would make display much more consistent, and could make this the one true wallpaper manager for a lot of people who want something that "just works", especially on DEs that don't provide good wallpaper support. In the meantime, though, if anyone has ImageMagick "filters" that effectively tile, center an image on a black background without cropping, etc, this issue might be a nice place for them. |
@pauloalves86 , you seem to have a grasp on the filter situation here. This ImageMagick script does what I want it to do from the command line (exactly like your filter, but with flat black instead of blurred image borders): This filter doesn't produce similar results: Any idea what I'm missing here? |
I'm not running Linux right now, so I can not test, but have you tried to not escape |
What would the filter be to zoom the image in so that it fills in the entire screen (no image borders)? |
@racompton |
Interestingly, the filter @pauloalves86 tried to help me troubleshoot is now working as initially proposed. (Thank you!) I wonder whether the initial failure was caused by my changes being overwritten by cached settings, because I was editing the filter while Variety was open. This filter fits images to screen without cropping, and borders with black as needed. ExamplesImage aspect matches monitorImage aspect wider than monitorImage aspect taller than monitorThese gorgeous images (1, 2, 3) are all freely available under the Unsplash license. |
FYI, this is what I wanted. I wanted to fill the screen with the image and crop it if it wouldn't fit. I didn't like the borders on the sides that other filters would generate: |
Such as stretch, center to screen, etc, instead of everything being
fillthe DE defaultThe text was updated successfully, but these errors were encountered: