Category Archives: Photography

Ubuntu on Flickr

Years ago I created Ubuntu Group on flickr and actually totally forgot about it just because I was away from Flickr and today I found some interesting photos in the photo pool

Ubuntu Cola?
I am because we are

Interesting Screenshot
Ubuntu Gutsy desktop
A good reason to quit flickr
Microsoft swallows Yahoo?

Ubuntu Motherhood
Mamang Peke and Alexis
Linux Terrorist ? Bin Tux? LoL or maybe Pen/guin
terrorist tux

Ubuntu mobile

you can view more by visiting Ubuntu Group on Flickr or maybe you would want to load random photos as a badge on your blog

  1. <!-- Start of Flickr Badge -->
  2. <style type="text/css">
  3. /*
  4. Images are wrapped in divs classed "flickr_badge_image" with ids
  5. "flickr_badge_imageX" where "X" is an integer specifying ordinal position.
  6. Below are some styles to get you started!
  7. */
  8. #flickr_badge_uber_wrapper {text-align:center; width:150px;}
  9. #flickr_badge_wrapper {padding:10px 0 10px 0;}
  10. .flickr_badge_image {margin:0 10px 10px 10px;}
  11. .flickr_badge_image img {border: 1px solid black !important;}
  12. #flickr_badge_source {text-align:left; margin:0 10px 0 10px;}
  13. #flickr_badge_icon {float:left; margin-right:5px;}
  14. #flickr_www {display:block; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
  15. #flickr_badge_uber_wrapper a:hover,
  16. #flickr_badge_uber_wrapper a:link,
  17. #flickr_badge_uber_wrapper a:active,
  18. #flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
  19. #flickr_badge_wrapper {}
  20. #flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}
  21. </style>
  22. <div id="flickr_badge_uber_wrapper"><a href="" id="flickr_www">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a><div id="flickr_badge_wrapper">
  23. <script type="text/javascript" src=""></script>
  24. <div id="flickr_badge_source">
  25. <a href=""><img id="flickr_badge_icon" alt="photos in ubuntu" src="[email protected]?1137100122" /></a><span id="flickr_badge_source_txt">More <a href="">photos in ubuntu</a></span><br clear="all" /></div></div></div>
  26. <!-- End of Flickr Badge -->

Tags: , , , ,

Batch photo editing, The Linux way

I’m really in love with those tiny tools that can do the magic to you when you are really depressed looking for a miracle to get your task done.

I work as action photographer in my free time and yesterday I had to edit 200 shot in a very short time, first I downloaded the RAWs into my computer and then started to delete the ruined ones and then I needed a way to convert all of my CR2 files into JPG; after bit of googling I found that there is a living application out there called DCRAW that let you decode all of your RAW files and then you can pass your decoded data into a tiny application called CJPEG that can compress the image file into JPEG image file and so I did

  1. for i in *.CR2; do dcraw -c -a -w -v   $i | cjpeg -quality 100 > $i.jpg; done;

This is the magic of command line tools in GNU/Linux, I was able to get all of my RAWs decoded and converted into JPEG in about two hours which includes googling for for the way to batch edit photos and convert RAWs to JPEG.

If you are into Photography then you would understand how many hours I have saved to get this task done.

Later I wanted to add a border and my signature to all of these photos plus I needed to resize them for web usage so I used Phatch.

Phatch is a simple to use cross-platform graphical Photo Batch Processor and Exif Renamer with a nice graphical user interface. Phatch handles all popular image formats and can duplicate (sub)folder hierarchies. Phatch can batch resize, rotate, apply shadows, perspective, rounded corners, … and do much more actions in minutes instead of hours or days if you do it manually.

I can certainly confirm that phatchs saved lots of my time, in return I’ll start translating it into Arabic language out of respect and to give something back to the developers and the community.

Photo editing under Linux isn’t that user friendly yet, but I’m pretty sure it will definitely be user friendly when Phatch get stabilised and gets more features.

NOTE: This example was tested with dcraw v8.80 and cjpeg 6b. cjpeg is available under libjpeg-progs package.

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,