Programming :: Creating Image Viewer Window Using Python And GTK Widgets

Jul 7, 2010

I'm a total newbie in Linux and only have limited experience of programming - in Hypercard, Javascript and some Python on the Mac platform. Now I want to get started with high-level programming and scripting on Ubuntu 10.04. The project I have in mind is fairly simple: I want to create an image viewer window that I can bring up on a RAW image file in Nautilus - with the help of dcraw, to inspect the image at 100% without going into a separate application.

The viewer should have a button that if clicked, would then convert the file to a TIFF, again using dcraw. That's it, that's all there is to it. My initial impression is that I should be able to achieve this using Python and GTK widgets. Am I right? How can I find the commands and structures I will need to work with?

View 8 Replies


ADVERTISEMENT

General :: Image Viewer With Transparent Window?

Aug 17, 2011

I would like to display a fully opaque image (e.g. PNG RGB8) on the desktop in an image viewer - but such that I can set the window (showing the image) to be, say, 50% transparent (so I could see through and compare with other windows below). It would be even better if the viewer just shows a "panel" instead of a "window" (i.e. I'd prefer just the image shown, possibly with a border - instead of a full blown window with menubar, titlebar etc).

I'm aware that in Compiz, it should be possible to run a plugin, and have any window you want transparent - but I was hoping for a solution (viewer) that would not be Compiz-specific (and even more preferred, if it is neither Gnome nor KDE specific - but I'm not sure that is possible).

View 1 Replies View Related

Ubuntu :: Image Viewer Opened From Nautilus Doesn't Change Active Window / Fix It?

Sep 1, 2010

There's something very annoying about how Nautilus opens "image viewer" windows.
They open, I can see them, but when I press the keyboard, it's still Nautilus which gets the commands.
This is because Nautilus stays the active window!

Most annoyingly, when I want to have a quick look at an image, and then close it, Nautilus closes instead (Alt+F4).

Does anyone know what I'm talking about?
How to solve it?

View 4 Replies View Related

Programming :: Get Window Titles, Icons And Screenshots From A C++ Or Python Program?

Jan 30, 2011

Is it possible to easily get the number of desktops, add/remove desktops, and get window titles, icons, and screenshots from a C++ or Python program?

View 12 Replies View Related

Ubuntu :: Image Deletion Through Image Viewer?

Jul 6, 2010

Iam looking for an Image viewer that lets me delete images through an 'delete' button/option in toolbox.. Most of the image viewers uses edit menu-->delete option,but iam looking for an direct link,clicking on which deletes the image currently open in image viewer
???

View 2 Replies View Related

Programming :: GTK - Load Image Or Display In Window

Jan 11, 2010

I am trying to write a small gtk+-2 program to display whatever image it is given and I was wondering if anyone out there has done something similar. I am not too familiar with writing programs for gtk and its been a while since I've fiddled with C. I went over the tutorial for gtk and it seams pretty easy to get a window to display, but I do not see anything that refers to loading an image or displaying it in the window. I am wondering if this can be done purely with gtk or will I need to use some type of image library like imlib2?

View 3 Replies View Related

Debian Programming :: Emacs And ECB Missing Python Methods In Methods Window

May 12, 2014

I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.

I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.

I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....

View 0 Replies View Related

Debian :: Use Output From Command In Image Viewer

Jun 4, 2011

I want an image viewer to show the images in a directory in a random order. For that, I made the following script:

cd /home/DIRECTORY
ls > files
sort -R files
cat files | gpicview

Everything looks fine, but gpicview doesn't open the images! I also tried it with pqiv but instead of just opening the images, it opens a dialog asking me which of the files I want to open.

View 6 Replies View Related

OpenSUSE :: Simple Image Viewer For Kiosk App?

May 23, 2010

I am trying to locate a simple image viewer that does the following simple function:

1. Able to open JPEG files (only .jpg images loaded).

2. Open them in full screen mode (launched via terminal command).

3. Able to close once clicked on them in full screen mode (example config file: MOUSE_BTN0 = quit)

I tried a few, I liked the simplicity of Eye of Gnome ( eog ), but the close on a click while in full screen doesn't seem an option? Unless there's a config file hidden somewhere?

View 4 Replies View Related

Debian :: How To Call Standard Image Viewer

Apr 5, 2011

Whenever I want to look at an image on the command line I use Kview, but what I want to use is the standard one you get when you click on an image file in windows mode. For me it's called visionneur d'image cos I'm using linux at my university in France.

View 8 Replies View Related

Software :: Fast Image Viewer - Mirage Or EOG?

Sep 7, 2010

Fast image viewer: MIRAGE or EOG? [URL] or [URL]. Which one do you favour? If possible, why such choice. (All choices are matter of tastes and preferences, being respected, and all have 100pct right).

View 5 Replies View Related

Software :: JBG Image Viewer / Converter To Other Formats

Feb 8, 2010

I want to know if there is any application from which I can view/convert the JBG Images to any other format. I have installed XnView and Image Magick. XnView does no support the JBG Images and Image Magick gives error while converting the image.

View 9 Replies View Related

Ubuntu :: Image Viewer Apps That Edit IPTC?

Jan 10, 2010

I've read about and taken brief looks at F-Spot, Gthumb, GQView, KphotoAlbum, and digiKam. Why is it so hard to find an app that edits IPTC? I think digiKam is supposed to, but 1) I was hoping not to have to run a KDE app on Gnome and 2) I can't even figure out how to use the darn thing ... it seems very unintuitive to me.

I miss Irfanview so much. (and no, I don't want to run WINE. I don't know why so many people are quick to suggest running Windows apps in WINE. If i wanted to run Windows apps, I'd run stinkin' Windows.)

It's one of those weeks for me when I feel like the more I actually try to USE Ubuntu for getting things done (as a long time Windows user), the more my hands are tied. I mean crap... MediaMonkey, Irfanview, ... ugh. Computers are for accomplishing tasks. Apps are for doing those tasks. OSes are for running those apps. I used to be a diehard OS/2 fan back in the day until I finally gave in to Windows. I still knew OS/2 was way superior, but what's the use in running a "superior" OS if you don't have the apps with features you need? I'm not trying to start a fight here and I hope I don't get slammed for my little venting here, but honestly...

View 5 Replies View Related

Ubuntu Multimedia :: Is There Any Image Viewer Similar To ACDSee?

May 20, 2010

Is there image viewer for linux similar to ACDSee?

View 3 Replies View Related

Ubuntu :: Image Viewer Sort By Exif Date Taken

Jan 31, 2011

I've tried what feels like at least a dozen different image viewers and I'm still hunting for one that handles viewing by date taken. The trick is that I'd like to just click the jpeg as they come off the camera and then browse through all the photos in the order taken... without having to load them into a photo management application, sort them in their, then start viewing from there. Too many extra steps for too many pictures when you're looking at a collection that is already organized (using the file system, i.e., nested directories) back to 2000. I need (ideally) a viewer where I click the jpeg, then go next next next through them in the order in which they were taken. Does anyone know if this sort of thing exists?

View 6 Replies View Related

Ubuntu :: Geant 4 Viewer (OpenGL Maybe) - Isn't Any Window At All

May 30, 2011

I'm using Ubuntu 10.10 and have installed Geant4 according to this thread: [URL] When I make example A01 everything goes ok. Then I run the A01app, and still everything is ok. At next step I open graphics viewer typing /vis/open OGLIX or OGLSX and the viewer opens (blinks), but there isn't any window at all. Terminal output is

[Code]...

View 1 Replies View Related

Debian Multimedia :: Noise On Image Viewer After Rawtherapee Export

Jan 19, 2016

I have a doubt about the Gnome default Image Viewer.It's because I edit my RAW images on RawTherapee, and then export them to jpg.When I open the exported pictures on the image viewer, it looks like has lots of noise.But when I open the same picture on Gimp or Iceweasel, the noises doen't appear.

So, the question is: which image viewer is wrong? Is Gimp and Iceweasel "fixing" the picture automatically, or Gnome Image Viewer is reading it wrongly and showing it with noise?URL...

View 1 Replies View Related

Fedora :: Nautilus Viewer - Disable Image Auto Rotate?

Nov 5, 2009

I've noticed in Gnome pretty much all applications auto-rotate images when viewing, but leave the original image data intact. This may sound silly, but when I want to post pictures on, for instance, Facebook they upload as the picture was originally taken. So, if I took a picture with the camera flipped sideways it appears upright in Nautilus and the two image viewers I have installed, but when I upload the picture it appears to be flipped on its side. Does anyone know how to disable the auto-rotate when viewing feature?

View 2 Replies View Related

Ubuntu :: Default Image Viewer Failed But GIMP Fine

Mar 19, 2011

The default image viewer in 10.10 (eog) has met its match, a ~500MB image of the moon. I just thought it was kind of funny, while browsing the software center for an image viewer that could handle it, I noticed the description of the one installed by default and thought it was kind of funny, so I snapped this screenshot and thought I'd share it with you guys. By the way I have 4 GB of RAM and can view the image just fine in GIMP, just thought this was kind of funny.
Screenshot

View 1 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Ubuntu :: 10.04 - Document Viewer Window Size Keeps Resetting

Apr 18, 2010

In Ubuntu 10.04 using Document Viewer 2.30.0 I've noticed that every time I open the program or a PDF file I haven't opened before the window size seems to reset to default. Thumbnails sidebar re-enables, view goes back to "Fit Page Width" and the actual size of the window goes back to being very small (default).

View 4 Replies View Related

Fedora :: GThumb Image Viewer Delete - Files Moved To Trash

Mar 4, 2010

When I am deleting pictures using gThumb image viewer it asks "The selected images will be moved to Trash, are you sure?" And if I press "yes" button - it moves message to ~/.Trash, can it be configured to move them into "real" trash? I have created symbolic link and it solved part of my problems, but files "restore" option is unavailable to files which were moved in to trash by this method.

View 3 Replies View Related

Programming :: Python 2.x - Represent The Same In Python 3.x

Mar 4, 2010

I have a function definition in a Python 2.x script which take a tuple as one of its arguments, but 2to3 has no answers nor any of my searching on how to represent the same in Python 3.x

Code:

def blah(self, (string1, string2))

View 4 Replies View Related

Ubuntu :: Python Drag Window Around?

May 16, 2010

I'm trying to manipulate the existing windows from within a python script similar to the BASH wmctrl. I've got the basics down with PyWnck, but I need to be able to tell when a window is actively being dragged (or just when the title bar is being clicked). I doubt this is a wnck function. direction of the right python package?

View 1 Replies View Related

Ubuntu :: Wanted: Image Viewer With "copy To Folder" Shortcut?

Jan 8, 2011

I have triedShotwellgThumbF-SpotNone of them has the possibility to define a shortcut which will move current picture to a defined folder.I want to get a collection of pictures to send to a friend. Before that I want to resize using imagemagick.Irfanview allows definition of locations for "Copy to" or "Move to" (F8 shows list of predefined locations, press 0-9 for copy. So effectively two key strokes). Does anyone know about an ubuntu image viewer that makes this possible with one key combination?

View 2 Replies View Related

General :: Creating The Iso Image Of Hdd?

Jan 14, 2011

I have a hdd with WindowsXP that I'd like to install on Virtual boxe. The hdd is currently in use, but can put in enclosure to perform operation. To do the planned operation, what is the best way? Do I need make iso image of hdd? Or can I install directly to vboxe?

View 14 Replies View Related

Ubuntu :: Creating Image From Comp?

Mar 11, 2011

Is there some way I can make an image from my machine. I want to copy it to a VM.

View 4 Replies View Related

General :: Creating An Image For PXE Boot

Jul 14, 2010

Right direction regarding the creation of a bootable Linux Image for PXE booting. I've already consulted google and the other obvious sources I could think of, but it seems that PXE is mostly used to install stuff, which isn't quite what I need.

The goal here is to have a pool of computers that boot from a central source so maintenance is less of a hassle. Installation of the individual PCs is not desired and I'm supposed to provide a functional Linux via PXE booting.

What I need is basically a way to turn a working Linux into an image that can be booted via network. Or to recreate that Linux as an image that I can boot.

View 4 Replies View Related

Programming :: First Image Will Display On The Page, And When A User Puts Their Cursor Over It, Then It Will Load Image 2?

Nov 24, 2010

I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved