I was playing around with my camera (cannon a75) today, taking photographs from pages of books, and it was interesting how easy it was to read a page from a book, that i had photographed.
I have often thought about how awesome it would be to beable to put images onto my memory card, and view them on the lcd screen. Sadly past experiments have shown that the camera ignors non native images.
Is there anyway around this? It seems all someone would have to do is build a program that converts outside images to mimic the cannon image encode?
Thanks you for your replies.
Also if its not possible with this camera, do any other brands allow this sort of thing?
Sat, 10 Jun 2006 21:51:24 -0700
Yes, we recently figured it out on a Sony digital camera . . . see "using Sony digital camera as a picture viewer". You can download the python program to do it. It should work with Canon digital cameras as well. Try it and let us know.
Sun, 11 Jun 2006 00:19:32 -0700
hi Chieh Cheng.
You'll have to help me as i have never tried to run a python script before.
I placed 3 images and the script in a directory called NEW on my desktop. THe images are named 01.jpg - 03.jpg.
I cmd'd to the directory and ran the script with:
C:\Documents and Settings\Willuknight\Desktop\NEW\DCF.py "01" [..."02" ]
Which unsurprisingly didn't do anything except open the python script in notepad.
Could you tell me what i should be typing in the command window ?
Sun, 11 Jun 2006 09:25:06 -0700
DCF.py is a Python script. The Python interpreter doesn't come with Windows. However, you can download it for free at The Python Programming Language -- Official Website. Once you are there, click on "DOWNLOAD", and then pick "Python 2.4.3 Windows installer" (as of this writing).
Be warned that I have never used Python on Windows before (I use it on Linux). But the Python web site has documentations for you to follow along.
Once you have Python installed, you can execute the script on your three images with the following command:
DCF.py 01.jpg 02.jpg 03.jpg
If those are the only images in the current directory, you can use the following command with wild-card:
Sun, 11 Jun 2006 11:29:29 -0700
Thanks for that Chieh Cheng.
I've downloaded and installed the python interpreter.
C:\Documents and Settings\Willuknight\Desktop\NEW>dcf.py *.jpg
Traceback (most recent call last):
File "C:\Documents and Settings\Willuknight\Desktop\NEW\dcf.py", line 15, in ?
ImportError: No module named Image
Any ideas what this means?
Sun, 11 Jun 2006 20:26:41 -0700
It means you are missing the "Image" module. Doing a search on Google turned up the "Python Imaging Library (PIL)" written by PythonWare. Give it a try by downloading the library from their web site.
Mon, 12 Jun 2006 13:54:15 -0700
OMG it works !
Awesome! I put the pictures on the camera and i can actually view them :D :D
I'll write up a guide about this and put it on my website.
Mon, 12 Jun 2006 17:27:53 -0700
mm something i forgot to mention. The wildcard search doesnt seem to work. I have to do it filename by file name, which isn't really practical for doing 100's of images like i wanted too.
returns : *.jpg does not exsist
Mon, 12 Jun 2006 18:15:16 -0700
Did you actually used double-quotes on the command-line? Try the command without double-quotes.
Tue, 13 Jun 2006 00:10:06 -0700
yeah, it wasn't working when i tried it the first time without the quotes.
Also i've noticed that not all images seem to work. I converted 20 pages (jpgs) from a manga using the code, yet only about half of those worked. The other half said format not compatible.
I'm puzzeled as to why some of the pages worked, and some didn't, when they're pretty similar format. All would have been edited by the same program, have the same colour resolution and page size...
Tue, 20 Jun 2006 22:43:59 -0700
Hey Willu, here's a method since you're using the command line:
You can make a batch file that can gather all of the *.JPG into a list and then run this thing on every JPG in that list.
I'm sure it's not the fanciest way, but it works without installing any new software. If you've never written a batch file before (so sad for you ;p ), it's easy. Just save in Notepad as a .BAT file.
Put this into notepad:
REM Turn off displaying extra stuff
REM Clear the screen
REM Get a directory listing of all JPG
REM Take out all the extra stuff we
REM don't need. Send it to a file.
ECHO Creating list...
DIR /b *.JPG > JPGLIST.TXT
REM Now go through that file and run
REM the python thing through it.
REM As I don't know python or w/e,
REM you may need to change this. ;P
for /f "delims=" %%f in ('type "%TF%"') do call :GO_PYTHON "%%f"
ECHO Processing %1.JPG
ECHO Operation Complete. :)
There ya go! Happy ... python-ing...or something. :D
Thu, 22 Jun 2006 00:00:34 -0700
Arigatou Aikeru :)
i once tried to use a batch file before - it didn't work :D
hopefully this one does.
Thu, 22 Jun 2006 12:43:47 -0700
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
Send Ping | TrackBack URL | Spam Control
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
171 Users Online