j a m e s b a r f o r d . n e t

home  ]   [  projects  ]


news  ]   [  webdec  ]   [  gwebdec  ]   [  downloads  ]

about  ]   [  howto  ]   [  screen shots  ]


 

So you want to give it a try ?
  • Download the latest file from the [ downloads ] section
  • extract file with tar -zxpvf webdec-0.XX.tar.gz
  • cd in to the new webdec directory and type make
  • copy the webdec binary into you path(echo $PATH), you may need to su root to do this.
    I use cp webdec /usr/bin , but your distro or preferences may be different.
  • Now go download a nice picture from [ webshots ]
  • cd to the directory where you downloaded the file.
    Type : webdec filename_you_just_downloaded
  • If its all worked out well you should have a new file called filename_you_just_downloaded_NUMBER.jpg
    If the file contains more than one photo each will be extracted and numbered 0 up to the number of photos.



As of version 0.34 webdec supports command line wildcards, this can be used to extract a whole directory of wbz files in one command.

e.g.
jeb9@taupo example $ ls
18940_1600daily.wbz 30526.wbz
jeb9@taupo example $ webdec *.wb* meta
Reading File : 18940_1600daily.wbz ... DONE
Extracted 1 photos
Reading File : 30526.wbz ... DONE
Extracted 1 photos
jeb9@taupo example $ ls
18940_1600daily.wbz 18940_1600daily_0.nfo 30526_0.jpg
18940_1600daily_0.jpg 30526.wbz 30526_0.nfo
jeb9@taupo example $



To extract the meta information use the "meta" command line parameter and the information will be extracted to a file(.nfo) as well as the JPEG image(s).

e.g.
stonkin:example$ ls
18989_1600.wbz webdec
stonkin:example$ ./webdec 18989_1600.wbz meta
Reading File ... DONE
Done, extracted 1 photos
stonkin:example$ ls
18989_1600.wbz 18989_1600_0.jpg 18989_1600_0.nfo webdec
stonkin:example$ cat *.nfo
TITLE:Evening Light, Mt Shuksan, Washington
CREDIT:Lynn Gerig / Roma Stock
COLLECTION:Nature Scenes - Mountains
CATEGORY:Nature Scenes
ALBUM:Mountains
stonkin:example$



XHTML 1.1 ]   [ CSS ]

Last updated 16/06/2009
webmaster@jamesbarford.net
© 2002 - 2009, James Barford.