maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Ansel-A: Digital Darkroom for the N900 (https://talk.maemo.org/showthread.php?t=55861)

Slocan 2010-06-14 17:50

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 714785)
I need to figure out the correct way to write a config file in python; since I'd rater not just have a .txt file with a value sitting in it. otherwise, I'm going to just create an xml file and parse the xml.

I use the ConfigParser module, which write a .ini type config file. It works well for me (although I'm sure there are other ways of doing it).

v13 2010-06-14 20:21

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 714785)
I need to figure out the correct way to write a config file in python; since I'd rater not just have a .txt file with a value sitting in it. otherwise, I'm going to just create an xml file and parse the xml.

For simplicity, I use the pickle module and just write a dictionary to a file. Then I unpickle it and have everything ready in just 2 lines.

You should also add a version number to your config file if you do it this way. It will help you a lot whenever you add new options to it.

v13 2010-06-14 20:24

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 714781)
I have to take a look at this, thanks so much for your help. packaging is quite a new concept for me.

You're welcome.

You should have a look at Debian's New Maintainer's Guide. It's a very good introduction. Apart from that, the full reference of packaging is the Debian's Policy Manual. It covers everything but it's not meant to be used as an introduction.

EDIT: Don't be scared of the size of the policy. It's a complete reference and as such it is big. You only need to look at some parts of it.

igorlt 2010-06-16 20:59

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Is there anyway to include some watermarks in the pictures?

lostinmirkwood 2010-06-16 22:12

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by igorlt (Post 718205)
Is there anyway to include some watermarks in the pictures?

wow, that's a fairly interesting question. what sort of watermarks would you have in mind? And on top of that what sort of general usage case would you/we have for watermarks? just curious.

as you can see when we do a crop the crop lines are placed as a layer above the current image. I would just need to devise a watermark, with the appropiate alpha channel (transparency settings) and merge layers.

igorlt 2010-06-16 22:15

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by lostinmirkwood (Post 718380)
wow, that's a fairly interesting question. what sort of watermarks would you have in mind? And on top of that what sort of general usage case would you/we have for watermarks? just curious.

as you can see when we do a crop the crop lines are placed as a layer above the current image. I would just need to devise a watermark, with the appropiate alpha channel (transparency settings) and merge layers.

Well, I tought I could create some watermarks adding some text or even another picure.

Something similar to this one. http://www.flickr.com/photos/garotasemfio/4685551079/

What do you think?

lostinmirkwood 2010-06-17 03:54

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by igorlt (Post 718388)
What do you think?

Yes, I could see using it to post images, screenshots, photos, Etc to blogs (Especially with maStory, sort of love that app).
Just have to come up with a good way to load those 1-bit images.

FarmerF 2010-06-17 07:59

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Got an update today (0.9-2) and now the icon for Ansela is gone from my desktop, shortcuts and menu. Known bug?

Also is there a terminal command to start Ansela? That way I can at least see if the program still works :)

d-iivil 2010-06-17 08:18

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
Quote:

Originally Posted by FarmerF (Post 718840)
Got an update today (0.9-2) and now the icon for Ansela is gone from my desktop, shortcuts and menu. Known bug?

Also is there a terminal command to start Ansela? That way I can at least see if the program still works :)

I installed this first time now and I don't have shortcut too :/

FarmerF 2010-06-17 08:51

Re: [ANNOUNCE] Ansel-A: Digital Darkroom for the N900
 
You could take the extra's-testing release (0.9-1) which probably still works. Its really a nice app and well worth a try, even if you have to resort to a non devel version ;)

edit --

Code:

python /opt/anselA/ansela.py
works fine. its just a shortcut thing.


All times are GMT. The time now is 10:31.

vBulletin® Version 3.8.8