jpg with Python

Thread Solved

Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 137
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

jpg with Python

 
0
  #1
Sep 25th, 2005
I have read the tutorial about Python and JPEG here, but there si no mention about showing the actual picture!
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,959
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 918
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: jpg with Python

 
0
  #2
Sep 25th, 2005
Part 1 of the tutorial deals only with the header, wait till part 2 comes up!

"Work real hard while you wait and good things will come to you!"
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,959
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 918
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: jpg with Python

 
0
  #3
Oct 12th, 2005
I finally found some time and put up "Python and the JPEG Image File, Part 2, The Image" into the Python tutorials. I think part 3 will talk about encryption/decryption of a JPEG file.

The tutorial pages are a little hidden, for part 2 see:
http://www.daniweb.com/techtalkforums/thread33791.html
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 137
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: jpg with Python

 
0
  #4
Oct 13th, 2005
I copy/paste the code onto my IDE, also downloaded the test jpg and unzipped onto work directory. Code gives me indentation error!
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 3,959
Reputation: vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice vegaseat is just really nice 
Solved Threads: 918
Moderator
vegaseat's Avatar
vegaseat vegaseat is offline Offline
DaniWeb's Hypocrite

Re: jpg with Python

 
0
  #5
Oct 13th, 2005
Just browsing by. Sharp eye there bumsfeld! What you got was most likely an expostulation from your IDE. I started out with a two space indentation on the class and then went to the more traditional four space indentation later in the code. Comes from copy and paste of older and newer code. Some IDEs catch that sloppy coding!

Sorry about that! I have edited my code indentations. It should work for most mortals now!
May 'the Google' be with you!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC