![]() |
[Announce] Photo Frame
1 Attachment(s)
I am working on a new app with Clutter, which acts as a digital photo frame (since there doesn't seem to be one in the repos). It currently has two transition modes: fade to black and crossfade. It is set to fade to black by default because there is a bug in crossfade mode where it flashes the new picture before fading to it, and I don't know how to fix this yet (I only learned Clutter about 4 hours ago!).
To run, extract to somewhere where you know where it is, and in a terminal run: Code:
python slideshow-clutter.py 10 /home/user/MyDocs/DCIM/ black Launcher, settings GUI etc. coming soon. |
Re: [Announce] Photo Frame
1 Attachment(s)
Update: The version above uses time.sleep() to wait, and thus only accepts input while transitioning - this means it can only be closed while transitioning. Here is a new version that has a non-blocking wait instead, and can additionally be closed by tapping on the screen rather than having to hit ctrl+back.
|
Re: [Announce] Photo Frame
1 Attachment(s)
New version. Now pictures scale automagically to the screen size. This means it is usable to display pictures taken with the built-in camera, which is a higher resolution than the N900's screen. I also added a few lines to keep the screen from blanking while the slideshow is running (thanks to MartinK!)
Also I have discovered that this runs on regular (linux) computers that have the necessary libs installed, with no modification. I still have to finish the configuration bit though; for now, just run it from the command line. |
Re: [Announce] Photo Frame
any screen shot for this??????
|
Re: [Announce] Photo Frame
Quote:
|
Re: [Announce] Photo Frame
hi skykooler
make me happy...man i see you learned lot of .py could you manage, make a transparent layer on top of camera.py program so we (fake artists) can put a picture with transparency on it as photo reference and with that reference photo and the open camera we can draw that image on paper, or tattoo or whatever... that MyPaint program have also lot of .py ...some code from there somehow would be nice... man. thanks for listening. |
Re: [Announce] Photo Frame
Quote:
|
Re: [Announce] Photo Frame
I am not quite sure where you get the idea that the camera app is written in Python. It isn't, as far as I can see. I may try writing an app like you describe though, using the fcam drivers. I probably won't get that done until next weekend though.
|
Re: [Announce] Photo Frame
My maemo has slideshow option.
Good to see this development though, I assume it has more options than default? For example, make a 'playlist', choose transition, choose duration of showing or a autolaunch when plugging it in a wall charger, can you tell me more about it? ;) |
Re: [Announce] Photo Frame
Playlist: not yet, but good idea.
Choose transition: yes (currently I only have two) Choose duration: yes, unlimited (between 0 and infinity!) Autolaunch when plugging into a wall charger: I am not quite sure how one would do that. But I will look into it. |
Re: [Announce] Photo Frame
Quote:
* * com.nokia.bme.signal charger_charging_on |
Re: [Announce] Photo Frame
1 Attachment(s)
I added a new transition, which I like a lot (it is a 3D flip animation). To see it, run
Code:
python slideshow-clutter.py 10 /home/user/MyDocs/.images spin |
Re: [Announce] Photo Frame
Quote:
the code I find-it here https://vcs.maemo.org/svn/maemoexamp...thon/camera.py it is simple but too dark. |
Re: [Announce] Photo Frame
1 Attachment(s)
Thank you. I will look at that this afternoon.
Meanwhile, I have added some more transitions, and I think I have about enough. I added a "shift" animation (think of Cover Flow in Mac OS X), and a "cube" animation where the images are on the edges of a cube. I also finally fixed the flashing bug in the "fade" animation! So here is the full list of options you can run it with as the third argument:
What do you think? |
Re: [Announce] Photo Frame
forgive me man...for nubs like me
where should I put this slideshow-clutter.py or what should I download because if I run from pygtkeditor it says line1 no module named clutter |
Re: [Announce] Photo Frame
Quote:
Code:
root |
Re: [Announce] Photo Frame
running nice from pygtkeditor
but with that xterm command-line option...you said I can put anywhere Quote: To run, extract to somewhere where you know where it is, and in a terminal run: xterm said no such file or directory slideshow-clutter.py something missing? ...making executable or what? anyway from pygtkeditor is more customizable. Sory for lot of nub questions |
Re: [Announce] Photo Frame
Quote:
Code:
cd MyDocs |
Re: [Announce] Photo Frame
Brilliant. Finally a way for me to show different photography portfolios, without the risk of random pictures popping up in the show. One folder per portfolio, job done.
Time to create a "portfolio view" screen with customised icons for each one... :D Even better, no auto-rotation, so both portrait and landscape pictures fill the screen. thankyou thankyou thankyou... |
Re: [Announce] Photo Frame
Quote:
|
Re: [Announce] Photo Frame
Well I was thinking with this I can have a folder of wedding pics, a folder of portraits, a folder of modelling pics, a folder of boudoir/lingerie pics and a folder of art nudes - and no chance of any of them being shown to the wrong clients!
So yes, potentially embarrassing which is why I have never tried to do it before!! ;) |
Re: [Announce] Photo Frame
Quote:
|
Re: [Announce] Photo Frame
confusion :$
which version to download ?? :$ |
Re: [Announce] Photo Frame
This one: http://talk.maemo.org/attachment.php...5&d=1310409934
I will update the first post when I get home. |
Re: [Announce] Photo Frame
Repositories, please?
|
Re: [Announce] Photo Frame
Working on it. Right now it is still a command-line app, I will upload it to extras-devel once I add a launcher of some sort.
|
Re: [Announce] Photo Frame
I'm getting an error
Code:
AttributeError: 'module' object has no attribute 'LINEAR' |
Re: [Announce] Photo Frame
Quote:
|
All times are GMT. The time now is 01:08. |
vBulletin® Version 3.8.8