source: ogBrowser-Git/qtermwidget/docs/configuration.md

jenkins
Last change on this file was 64efc22, checked in by Vadim Troshchinskiy <vtroshchinskiy@…>, 19 months ago

Update qtermwidget to modern version

  • Property mode set to 100644
File size: 1.4 KB
Line 
1# Migration for background images
2
3How the background image is drawn has been changed since version 0.17.
4Intuitively, the background image is now drawn above the background color instead of below it.
5Technically, the background image is no longer blended with the background color.
6
7Any background image can be used but, of course, it should be chosen so that the terminal text can be easily read on it.
8Since an image may not be totally dark or light, you might want to use a translucent image as the background.
9As a result, the background image is mixed with the background color to improve readability.
10Opaque images can also be converted to translucent ones with a few steps.
11
12A common usage is an effect similar to previous qtermwidget versions or other terminal emulators.
13To achieve that, you can convert the background image to a translucent one with the transparency level matching the original terminal transparency.
14For example, if the original terminal transparency of qtermwidget was 25% (or 75% in some other terminal emulators), a converted image with transparency 25% will work as usual.
15The conversion can be done via ImageMagick, GraphicsMagick, GIMP or Krita.
16Here is an example command using ImageMagick:
17
18    $ convert original_image.jpg -matte -channel A +level 0,25% +channel translucent_image.png
19
20You may also want to change the terminal transparency to 0% if you do not want to see another window or the desktop below the terminal.
Note: See TracBrowser for help on using the repository browser.