maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Photo Frame (https://talk.maemo.org/showthread.php?t=74731)

skykooler 2011-07-08 20:07

[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
where the first argument is the number of seconds to display each image for, the second is the folder containing the photos and the third is the mode (either "black" or "fade".)

Launcher, settings GUI etc. coming soon.

skykooler 2011-07-08 20:26

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.

skykooler 2011-07-11 14:09

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.

hathoda 2011-07-11 14:39

Re: [Announce] Photo Frame
 
any screen shot for this??????

skykooler 2011-07-11 14:42

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by hathoda (Post 1048900)
any screen shot for this??????

A screenshot of a full-screen picture? it would just be the picture.

SHARP66 2011-07-11 15:29

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.

SHARP66 2011-07-11 15:34

Re: [Announce] Photo Frame
 
Quote:

Originally Posted by skykooler (Post 1047336)
(since there doesn't seem to be one in the repos).

like you said

skykooler 2011-07-11 15:36

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.

blipnl 2011-07-11 15:57

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? ;)

skykooler 2011-07-11 16:06

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.


All times are GMT. The time now is 21:48.

vBulletin® Version 3.8.8