Notices


Reply
Thread Tools
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#51
Originally Posted by lostinmirkwood View Post
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).
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#52
Originally Posted by lostinmirkwood View Post
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.
 
Posts: 376 | Thanked: 511 times | Joined on Aug 2009 @ Greece
#53
Originally Posted by lostinmirkwood View Post
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.
 

The Following User Says Thank You to v13 For This Useful Post:
Posts: 134 | Thanked: 31 times | Joined on Mar 2010 @ Sao Paulo / Brazil
#54
Is there anyway to include some watermarks in the pictures?
 
lostinmirkwood's Avatar
Posts: 128 | Thanked: 232 times | Joined on Sep 2009 @ New Jersey, USA
#55
Originally Posted by igorlt View Post
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.
 
Posts: 134 | Thanked: 31 times | Joined on Mar 2010 @ Sao Paulo / Brazil
#56
Originally Posted by lostinmirkwood View Post
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's Avatar
Posts: 128 | Thanked: 232 times | Joined on Sep 2009 @ New Jersey, USA
#57
Originally Posted by igorlt View Post
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.
 
Posts: 46 | Thanked: 17 times | Joined on Mar 2010 @ Netherlands
#58
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's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#59
Originally Posted by FarmerF View Post
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 :/
__________________
If you're rich and you think I deserve a cold beer, you may donate one or two :-P

80's style stadium rock is back - FIRENOTE
Hi-Octane heavy metal - FORCE MAJEURE
 
Posts: 46 | Thanked: 17 times | Joined on Mar 2010 @ Netherlands
#60
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.

Last edited by FarmerF; 2010-06-17 at 08:57.
 

The Following User Says Thank You to FarmerF For This Useful Post:
Reply

Tags
darkroom, image, photography

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:46.