Transparent image viewer?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read this

Transparent image viewer?

Postby mint-o-licious on Mon Nov 14, 2011 9:47 am

I'm trying to display screenshots transparent so I can use them as reference while animating.

What I've done is mapping commands in compiz so I can take a screenshot with ImageMagick and then display it in fullscreen.
1. import -window root temp.png
2. feh -F temp.png

This works great to take a screenshot and then displaying it fullscreen. The displayed screenshot is however totally opaque. I'd like to view it transparent overlayed over my desktop, which feh doesn't have any option for.

I've also tried "import -window root temp1.png && convert temp1.png -alpha Set -channel Alpha -evaluate Set 35% temp.png" which gives an transparent image but I still can't dispay this as transparent over my desktop.

Is there any viewer (or other way) that let's me display images full screen transparent overlaying my desktop?

[Linux Mint 11, Gnome, Compiz]
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Linux Mint is funded by ads and donations.
 

Re: Transparent image viewer?

Postby Beardedragon on Mon Nov 14, 2011 12:28 pm

Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz, 3GB RAM, 640GB HD
Debian 7.0 Wheezy 3,2,0-4 Xfce 4.10 AMD-64
Linux Mint 15 Olivia 3.8.0-19 Xfce 4.10 AMD-64
User avatar
Beardedragon
Level 4
Level 4
 
Posts: 337
Joined: Sat Jan 29, 2011 3:37 am

Re: Transparent image viewer?

Postby wyrdoak on Mon Nov 14, 2011 1:54 pm

have you tried, "enable opacity,brightness and saturation" in your compiz settings manager, in the opacity tab add something like class=gthumb, or whatever the program you use as a viewer,set your level of opacity, then when you open your pic' in gthumb you get the transparency.
-Acer Aspire One AO532h-Atom CPU-N450-1.66ghz
RAM- 2gbs-(Maya-Xfce) LInux 3.2.0.26-generic(i686)
-ASUSTek Computer INC. AMD Sempron 3200+ Nvidia GeForce 9500 GT- SB Audigy 2
RAM 3gbs- (Mint 13 Xfce - Mint 13 Mate) Linux 3.2.0-26-generic(i686)
User avatar
wyrdoak
Level 6
Level 6
 
Posts: 1226
Joined: Thu May 19, 2011 1:32 pm
Location: USA

Re: Transparent image viewer?

Postby mint-o-licious on Mon Nov 14, 2011 1:56 pm

Beardedragon wrote:Try GIMP, here is an illustration:

Well... Thank you?
Getting transparent images is not my problem. It's displaying them as transparent overlays that is.
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Re: Transparent image viewer?

Postby Beardedragon on Mon Nov 14, 2011 2:58 pm

mint-o-licious wrote:
Beardedragon wrote:Try GIMP, here is an illustration:

Well... Thank you?
Getting transparent images is not my problem. It's displaying them as transparent overlays that is.

My thoughts along this line was to use Gimp not only to create the image, but, to work from the image within Gimp. With Gimp you can work with layers and overlays, import and export layers, etc. just remember to work from a copy rather than the original.
Robert Collard, Madison, WI
HP s5710f, 2x AMD Athlon II 260@3.2Ghz, 3GB RAM, 640GB HD
Debian 7.0 Wheezy 3,2,0-4 Xfce 4.10 AMD-64
Linux Mint 15 Olivia 3.8.0-19 Xfce 4.10 AMD-64
User avatar
Beardedragon
Level 4
Level 4
 
Posts: 337
Joined: Sat Jan 29, 2011 3:37 am

Re: Transparent image viewer?

Postby mint-o-licious on Mon Nov 14, 2011 3:33 pm

Beardedragon wrote:My thoughts along this line was to use Gimp not only to create the image, but, to work from the image within Gimp.

Alright, thank's then. But it's not for image work I need the overlay, it's for animation in various applications.
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Re: Transparent image viewer?

Postby mint-o-licious on Mon Nov 14, 2011 5:01 pm

wyrdoak wrote:have you tried, "enable opacity,brightness and saturation" in your compiz settings manager, in the opacity tab add something like class=gthumb, or whatever the program you use as a viewer,set your level of opacity, then when you open your pic' in gthumb you get the transparency.


Thank you! That do exactly what I want!

I set a class=feh with an opacity value of 35 did give an semi transparent overlay. (A note of warning or amusement here, do not try to switch wokspace after you've started to add a new class. Writing class= and nothing more gives a default transparency value of 0 to everything... I had to start gnome without compiz o remove the class.)

Now, to elaborate on this technique.
1. Can I somehow choose if I want to use this class or not for a specific application (feh)?
2. Can I somehow work on an application below the top one (below the image overlay)?
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Re: Transparent image viewer?

Postby mint-o-licious on Tue Nov 15, 2011 4:36 am

I did this yesterday on my laptop which has ubuntu 10.04.

Now when trying to apply this on my workstation running Mint11 it doesn't work. Compiz setup form commands and opacity is exactly the same as on my laptop.

First ImageMagick screenshot is horrible, top bar is messed up with garbled icons and pieces of software from different workspaces. Docky is just displayed as a black bar. As if using Metacity instead of compiz rendering.
Second I can not get any transparency running feh, or opacity for any other application using the compiz plugin.
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Re: Transparent image viewer?

Postby wyrdoak on Tue Nov 15, 2011 4:54 am

-Acer Aspire One AO532h-Atom CPU-N450-1.66ghz
RAM- 2gbs-(Maya-Xfce) LInux 3.2.0.26-generic(i686)
-ASUSTek Computer INC. AMD Sempron 3200+ Nvidia GeForce 9500 GT- SB Audigy 2
RAM 3gbs- (Mint 13 Xfce - Mint 13 Mate) Linux 3.2.0-26-generic(i686)
User avatar
wyrdoak
Level 6
Level 6
 
Posts: 1226
Joined: Thu May 19, 2011 1:32 pm
Location: USA

Re: Transparent image viewer?

Postby mint-o-licious on Tue Nov 15, 2011 5:34 am

Thank you!
That solved some compiz issues I've had all along mint11. I wish I knew this a long time ago... (viewtopic.php?f=55&t=74642)

It also solved the feh transparency issue so it now works.
ImageMagick still gives crappy screenshots. I guess I'll have to find another way to grab a screenshot thorugh terminal.
mint-o-licious
Level 1
Level 1
 
Posts: 40
Joined: Thu Feb 10, 2011 10:48 am

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 5 guests