<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes &#187; photography</title>
	<atom:link href="http://alexpb.com/notes/articles/tag/photography/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexpb.com/notes</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 01:27:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Slackware&#8217;s Slackbuilds modified for Slamd64</title>
		<link>http://alexpb.com/notes/articles/2008/01/12/slackwares-slackbuilds-modified-for-slamd64/</link>
		<comments>http://alexpb.com/notes/articles/2008/01/12/slackwares-slackbuilds-modified-for-slamd64/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 00:44:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/articles/2008/01/12/slackwares-slackbuilds-modified-for-slamd64/</guid>
		<description><![CDATA[Here&#8217;s what I needed to add/modify to the Program.SlackBuild file downloaded from SlackBuilds: ARCH=${ARCH:-x86_64} # modified elif [ "$ARCH" = "x86_64"]; then # added SLKCFLAGS="-O2 -fPIC" # added LIBDIR=/usr/lib64 # added fi A complete example for libgphoto2: #!/bin/sh # Slackware build script for libgphoto2 # Written by Frank Caraballo # No Guarantees. Use this SlackBuild [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s what I needed to add/modify to the Program.SlackBuild file downloaded from <a href="http://slackbuilds.org">SlackBuilds</a>:</p>
<p><code><br />
ARCH=${ARCH:-x86_64} # modified<br />
elif [ "$ARCH" = "x86_64"]; then # added<br />
  SLKCFLAGS="-O2 -fPIC"          # added<br />
  LIBDIR=/usr/lib64              # added<br />
fi<br />
</code></p>
<p>A complete example for libgphoto2:</p>
<p><code><br />
#!/bin/sh</p>
<p># Slackware build script for libgphoto2</p>
<p># Written by Frank Caraballo <fecaraballo[AT]gmail.com><br />
# No Guarantees. Use this SlackBuild at your own risk.<br />
# Public Domain</p>
<p># Modified by Michael Wagner <lapinours@web.de><br />
# (change group ownership for udev rules to plugdev, adjust README)<br />
# Do not blame the original author if anything goes wrong with these changes.</p>
<p># Modified by Robby Workman <rworkman@slackbuilds.org> to fix a bug in<br />
# the way the fdi files are created (the xml header must be the first line,<br />
# so we can't append the autogenerated rules - they must overwrite the file)<br />
# Thanks to amrit for the report.</p>
<p>PRGNAM=libgphoto2<br />
VERSION=2.4.0<br />
ARCH=${ARCH:-x86_64} # changes from i486<br />
BUILD=${BUILD:-2}<br />
TAG=${TAG:-_SBo}</p>
<p>CWD=$(pwd)<br />
TMP=${TMP:-/tmp/SBo}<br />
PKG=$TMP/package-$PRGNAM<br />
OUTPUT=${OUTPUT:-/tmp}</p>
<p>DOCS="ABOUT-NLS ChangeLog HACKING INSTALL MAINTAINERS README.in TESTERS"</p>
<p>if [ "$ARCH" = "i486" ]; then<br />
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"<br />
elif [ "$ARCH" = "i686" ]; then<br />
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"<br />
elif [ "$ARCH" = "x86_64"]; then # added<br />
  SLKCFLAGS="-O2 -fPIC"          # added<br />
  LIBDIR=/usr/lib64              # added<br />
fi</p>
<p>rm -rf $PKG<br />
mkdir -p $TMP $PKG $OUTPUT<br />
cd $TMP || exit 1<br />
rm -rf $PRGNAM-$VERSION<br />
tar -xvjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1<br />
cd $PRGNAM-$VERSION || exit 1<br />
chown -R root:root .<br />
chmod -R u+w,go+r-w,a-s .</p>
<p>CFLAGS="$SLKCFLAGS" \<br />
CXXFLAGS="$SLKCFLAGS" \<br />
./configure \<br />
  --prefix=/usr \<br />
  --disable-static \<br />
  --mandir=/usr/man \<br />
  --with-doc-dir=/usr/doc/$PRGNAM-$VERSION \<br />
  || exit 1</p>
<p>make || exit 1</p>
<p># Make sure udev helper scripts are put in the right place and<br />
# install the other utilities to /usr/bin instead of /usr/lib/libgphoto2/<br />
make \<br />
  udevscriptdir=/lib/udev \<br />
  utilsdir=/usr/bin \<br />
  install-strip DESTDIR=$PKG \<br />
  || exit 1</p>
<p># Install "dummy" udev rules file so it will be removed later if the package<br />
# is uninstalled; the post-install script will append auto-generated rules<br />
mkdir -p $PKG/etc/udev/rules.d<br />
cat << EOF > $PKG/etc/udev/rules.d/90-libgphoto2.rules<br />
# DO NOT EDIT THIS FILE!<br />
# Any custom changes will be lost if the libgphoto package is upgraded.</p>
<p>EOF</p>
<p>mkdir -p $PKG/usr/share/hal/fdi/information/20thirdparty<br />
touch $PKG/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi<br />
touch $PKG/usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2-device.fdi</p>
<p># Compress man pages<br />
( cd $PKG/usr/man<br />
  find . -type f -exec gzip -9 {} \;<br />
  for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done<br />
)</p>
<p>mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION<br />
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION<br />
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild</p>
<p>mkdir -p $PKG/install<br />
cat $CWD/slack-desc > $PKG/install/slack-desc<br />
cat $CWD/doinst.sh > $PKG/install/doinst.sh</p>
<p>cd $PKG<br />
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2008/01/12/slackwares-slackbuilds-modified-for-slamd64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Camera&#8217;s digital zoom VS The Gimp zoom</title>
		<link>http://alexpb.com/notes/articles/2007/01/25/digital-cameras-digital-zoom-vs-the-gimp-zoom/</link>
		<comments>http://alexpb.com/notes/articles/2007/01/25/digital-cameras-digital-zoom-vs-the-gimp-zoom/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 23:15:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[gimp]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes3/archives/11</guid>
		<description><![CDATA[Here are 3 pictures I shot with a Fuji F30 at 6.3 megapixels. First Picture: No camera zoom and zoomed 18.5x on the computer (using The Gimp). Second one: 3x optical zoom and 6.2x on the computer. Third one: 3x optical zoom and 6.2x camera digital zoom. Conclusion: Using your camera&#8217;s digital zoom give better [...]]]></description>
			<content:encoded><![CDATA[<p>Here are 3 pictures I shot with a Fuji F30 at 6.3 megapixels.</p>
<p>First Picture: No camera zoom and zoomed 18.5x on the computer (using The Gimp).</p>
<p>Second one: 3x optical zoom and 6.2x on the computer.</p>
<p>Third one: 3x optical zoom and<br />
6.2x camera digital zoom.</p>
<p>Conclusion: Using your camera&#8217;s digital zoom give better results than what you can achieve with an image editing software zoom (results may vary with a different camera).</p>
<p><a href="/images/zoom_comparison.png"><img src="/images/zoom_comparison_thumbnail.png" alt="Digital Camera - Digital and Optical Zoom Zomparison" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2007/01/25/digital-cameras-digital-zoom-vs-the-gimp-zoom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
