{"id":657,"date":"2007-11-06T05:24:13","date_gmt":"2007-11-06T10:24:13","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux"},"modified":"2007-11-06T05:24:21","modified_gmt":"2007-11-06T10:24:21","slug":"raw-management-and-conversion-in-linux","status":"publish","type":"post","link":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux","title":{"rendered":"RAW Management and Conversion in Linux"},"content":{"rendered":"<p>Today, I was playing around with Linux, and RAW management. Not wanting to carry a laptop just for photo editing (i.e. I plan on travel <i>without<\/i> my MacBook Pro, and beautiful Lightroom, Aperture, iView Media Pro [okay, Microsoft Expression Media now], and Photoshop CS2), I figured I should make Linux up to scratch.<\/p>\n<p>My favourite photo browser, is <a href=\"http:\/\/gqview.sourceforge.net\/\">GQview<\/a>. Its not standard software any longer, but its pretty old, and it works fairly well. It however, doesn&#8217;t support RAW. Today I discovered f-spot (ok, I discovered it ages ago, but I didn&#8217;t like its iPhoto-ness, where it wants to import stuff for you). Never fear, that&#8217;s what<\/p>\n<p>&nbsp;&nbsp;&nbsp; <tt>f-spot --view &lt;path&gt;<\/tt><\/p>\n<p>is for. Shortcut wise, its a little different, so I just use the up\/down arrow keys to browse.<\/p>\n<p>Now to convert the RAW files to JPGs, with preservation of EXIF data. I played around with the commands manually after reading the man page for <tt>dcraw<\/tt>, and figured there must be a better way. So I hopped on over to Yahoo!, did a little search, and came up with Jamie Zawinski&#8217;s <a href=\"http:\/\/www.jwz.org\/hacks\/mvpix\">mvpix<\/a>. After changing the script a tad bit to suit my environment, I have images! RAW, JPEG, and copies of the JPEGs in an EDIT folder. <tt>mvpix<\/tt> also works on OS X.<\/p>\n<p>The options being passed to <tt>dcraw<\/tt> seem to be simple: <tt>-w<\/tt> for using camera supplied white balance, <tt>-t 0<\/tt> for no tilting, and <tt>-c<\/tt> for writing decoded images to stdout. Its passed to <tt>cjpeg<\/tt>, and run at 95% quality. However, the images seem to be a tad different, and I have no idea why.<\/p>\n<div align=\"center\"><a href=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/incamera-dcraw-jpg-diff.png\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/incamera-dcraw-jpg-diff_s.png\" data-recalc-dims=\"1\" \/><\/a><br \/><i>On left, is when the camera was shooting in RAW+JPEG, and on right is the JPEG generated from the RAW file (<a href=\"http:\/\/www.bytebot.net\/shots\/incamera-dcraw-jpg-diff.png\">click for larger image<\/a>). These are 100% zooms.<\/i><\/div>\n<p>The colour differences befuddles me. Why does the camera come out with &#8220;brighter&#8221; RAW, and <tt>dcraw<\/tt> come up with paler tones?<\/p>\n<div align=\"center\"><a href=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/incamera-ufrawraw-dcrawjpg-differences.png\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.bytebot.net\/shots\/incamera-ufrawraw-dcrawjpg-differences_s.png\" data-recalc-dims=\"1\" \/><\/a><br \/><i>On left, is what the in-camera JPEG gives, when you&#8217;re shooting in RAW+JPEG, in the middle is what UFRaw sees from the RAW file, and on the right is what the converted JPEG looks like, after being parsed through dcraw+cjpeg (<a href=\"http:\/\/www.bytebot.net\/shots\/incamera-ufrawraw-dcrawjpg-differences.png\">click for larger image<\/a>).<\/i><\/div>\n<p>What gives? Are there better options in <tt>dcraw<\/tt> to give me an as-close-to-in-camera JPEG experience? Are the converted images better\/more true coloured? I&#8217;m not sure which to pick, and I&#8217;m not sure what&#8217;s the <i>correct<\/i> setting, to be honest. <\/p>\n<p>Now about the photos. Apologies to the girl pictured here, all I know is that she&#8217;s probably a student at the Caulfield Campus of Monash University (so no, I don&#8217;t know her name). She was randomly picked for some quick studio photos, which was really just a bunch of us playing with a few studio strobes, and having the power of wireless triggers. These photos all rolled off an EOS 350D digital back, with a 50mm\/1.4 lens attached to it, shot at f\/1.6, at 1\/25s. Sure, this should have really been made at f8, but there was no time to coax the girl.<\/p>\n<p>Technorati Tags: <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/linux\" rel=\"tag\">linux<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/raw\" rel=\"tag\">raw<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/cr2\" rel=\"tag\">cr2<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/gqview\" rel=\"tag\">gqview<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/f-spot\" rel=\"tag\">f-spot<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/jpg\" rel=\"tag\">jpg<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/dcraw\" rel=\"tag\">dcraw<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/mvpix\" rel=\"tag\">mvpix<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/cjpeg\" rel=\"tag\">cjpeg<\/a>, <a class=\"performancingtags\" href=\"http:\/\/technorati.com\/tag\/colour%20correction\" rel=\"tag\">colour correction<\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20RAW%20Management%20and%20Conversion%20in%20Linux&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F11%2F06%2Fraw-management-and-conversion-in-linux&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"a28ee2ef1a\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-657\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-657\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-657\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Today, I was playing around with Linux, and RAW management. Not wanting to carry a laptop just for photo editing (i.e. I plan on travel without my MacBook Pro, and beautiful Lightroom, Aperture, iView Media Pro [okay, Microsoft Expression Media now], and Photoshop CS2), I figured I should make Linux up to scratch. My favourite [&hellip;]<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-email\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-email sd-button share-icon\" href=\"mailto:?subject=%5BShared%20Post%5D%20RAW%20Management%20and%20Conversion%20in%20Linux&body=http%3A%2F%2Fwww.bytebot.net%2Fblog%2Farchives%2F2007%2F11%2F06%2Fraw-management-and-conversion-in-linux&share=email\" target=\"_blank\" title=\"Click to email a link to a friend\" data-email-share-error-title=\"Do you have email set up?\" data-email-share-error-text=\"If you&#039;re having problems sharing via email, you might not have email set up for your browser. You may need to create a new email yourself.\" data-email-share-nonce=\"a28ee2ef1a\" data-email-share-track-url=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=email\"><span>Email<\/span><\/a><\/li><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-657\" class=\"share-facebook sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=facebook\" target=\"_blank\" title=\"Click to share on Facebook\" ><span>Facebook<\/span><\/a><\/li><li class=\"share-linkedin\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-linkedin-657\" class=\"share-linkedin sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=linkedin\" target=\"_blank\" title=\"Click to share on LinkedIn\" ><span>LinkedIn<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-657\" class=\"share-twitter sd-button share-icon\" href=\"http:\/\/www.bytebot.net\/blog\/archives\/2007\/11\/06\/raw-management-and-conversion-in-linux?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\" ><span>Twitter<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_options":[]},"categories":[1],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4vJD-aB","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3456,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2018\/08\/10\/thumb-drive-data-recovery","url_meta":{"origin":657,"position":0},"title":"Thumb drive data recovery","date":"10\/8\/2018","format":false,"excerpt":"I haven\u2019t done any data recovery or data rescue work in sometime (the last time was on Linux, with a combination of dd, ddrescue, and some throwaway code to parse JPGs \u2013 it was a Compact Flash card that needed saving). This time, all I had was macOS, a 16GB\u2026","rel":"","context":"In &quot;Tech&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2557,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2012\/10\/22\/why-do-mac-linux-users-pay-more-for-things","url_meta":{"origin":657,"position":1},"title":"Why do Mac &#038; Linux users pay more for things?","date":"22\/10\/2012","format":false,"excerpt":"I just purchased The Humble eBook Bundle. I primarily use a Mac OSX based laptop (my MacBook Pro), and secondarily use Linux in various flavours (a Lenovo ThinkPad runs Ubuntu, various boxes run a combination of that and Fedora & CentOS, and virtual machines are growing). It seems not only\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":776,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/04\/13\/ian-murdock-on-opensolaris-and-beyond","url_meta":{"origin":657,"position":2},"title":"Ian Murdock on OpenSolaris&#8230; And Beyond","date":"13\/4\/2008","format":false,"excerpt":"I paid great attention to Ian Murdock's talk at LugRadio Live USA 2008, as he's an important person at Sun in terms of the open source community, and I'm community facing as well. It was also the first time I got to meet Ian (after his talk), and we hit\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":744,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2008\/03\/13\/consumer-hardware-shipping-too-many-linuxes-by-default","url_meta":{"origin":657,"position":3},"title":"Consumer hardware shipping too many Linuxes by default","date":"13\/3\/2008","format":false,"excerpt":"At the top of my head now, Linux is hitting the mainstream desktop market, in many variants: Xandros, on the ever popular Asus EeePC's Foresight Linux, on the new Shuttle KPC's (USD$199), which are basically small form-factor desktops Fedora, a modified variant anyway, running on the OLPC's gOS, a variant\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":429,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2006\/09\/04\/finally-i-found-out-what-photo-booth-can-be-used-for","url_meta":{"origin":657,"position":4},"title":"Finally, I found out what Photo Booth can be used for","date":"4\/9\/2006","format":false,"excerpt":"I always knew that the built-in iSight on the MacBook Pro will come in handy. That, and the fact that Photo Booth is installed probably makes it all the more worthwhile. (i.e. I found out its first use, in a long, long time) Sue-Anne in sepia For a party at\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":543,"url":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/05\/01\/ubuntu-linux-pre-loaded-on-dells","url_meta":{"origin":657,"position":5},"title":"Ubuntu Linux pre-loaded on Dell&#8217;s","date":"1\/5\/2007","format":false,"excerpt":"This is where all the rave is at, today. Guess May really is a good month :-) I've been meaning to write about this for quite a while (linux being pre-loaded), and this seems to be a fairly good time.It all started with Morgan Collett's post about Linux preloaded -\u2026","rel":"","context":"In &quot;General&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/657"}],"collection":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":0,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}