Raspberry Pi: Any my password is..

.. well not raspberry, and not the usual form of passwords I use, and not written down in 'Electronics Log Book'.

To be far this PiZeroW hadn't been started in a while (too long) so my own fault. [insert your preferred search] to the rescue as usual. This page was the real help; to summarise the steps then

  • take out the microSD card and connect to computer
  • Open cmdline.txt and add init=/bin/sh to the command there (this is in 'boot' that Windows or Linux will find)
  • microSD back to Pi, and boot
  • Will boot straight to the command line, if it appears to be stuck hit return a few times to confirm the prompt is there.
  • su to become root user
  • I had to make the filesystem writeable with mount -o remount,rw /dev/mmcblk0p2 /
  • passwd pi to reset the password to *********
  • shutdown -p to shutdown
  • microSD back to the computer to undo the changes to the cmdlint.txt
  • and then back to the Pi

Though I had to to put the Pi case back together as it is an acrylic layered on that promptly fell completly apart. (Extracting the microSD initially required taking the case apart slightly).

Photographic Workflow: Managing file formats

An important part of the process of digital photography I think is establishing a 'workflow' that works for you (pardon the pun). Workflow may sound like it is something that is the domain solely of professionals, but even if you are amateur maybe only taking a handful of pictures it is, I would assert, very important.

I'm now posting to various different photosites, such as Photo.net, Flickr, Pixola, and various stock agenices. Each require a specific quality of image. Different resoultions, file formats, and maximum file size.

Whilst any photo tool can handle this type of transformation, I was looking for something more streamlined. So I'm currently investigating using ImageMagick

Some articles on using this are on developerWorks, an odd place for a photo article but never mind. With a great tutorial site on creating thumbnails.

More will be posted on this topic !

An alternative that I was considering pursuing is the use of Python and the Python Imaging Library 

Photo directory auto-resize


Watch a directory on windows, and when I copy an image file into, resize it based on an existing script.

I upload to various online photo sites. Flickr's upload tool will do the resize for me, but others don't; they all have different requriements for size, resoultion etc. So I'll have a directory per site, and scripts set accordingly.

Using the following code snipet would be the first step to doing that I think.