WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
jpeg to pdf (Read 2111 times)
vcopola
YaBB Newbies
*
Offline



Posts: 16
jpeg to pdf
Jan 29th, 2014 at 3:26pm
 
Hello
I have reviewed your post http://blog-en.gdpsoftware.com/2009/04/convert-tiff-to-pdf.html.
It could change to convert jpeg to pdf.
thanks


modified fixed url to the blogpost
Back to top
« Last Edit: Jan 30th, 2014 at 6:41am by Gert »  
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: jpeg to pdf
Reply #1 - Jan 30th, 2014 at 6:40am
 
As far as I know, IrfanView supports all converts, so most likely you just need to replace
Code:
IF "%WD_FILE_E%" NEQ "TIF" (
   IF "%WD_FILE_E%" NEQ "TIFF" GOTO :EOF
)
 


with
Code:
IF "%WD_FILE_E%" NEQ "JPG" (
   IF "%WD_FILE_E%" NEQ "JPEG" GOTO :EOF
)
 


and it should work.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
vcopola
YaBB Newbies
*
Offline



Posts: 16
Re: jpeg to pdf
Reply #2 - Feb 7th, 2014 at 4:59pm
 
Hello and thanks for the reply
Jpg could erase automatically after?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2224
The Netherlands
Re: jpeg to pdf
Reply #3 - Feb 7th, 2014 at 5:49pm
 
Yes,

just like mentioned in the blogpost:
Code:
rem if you want to remove the tiff after it has been converted
rem uncomment (remove the "rem") the next line
rem DEL "%WD_FILE%"
 



so just replace it with
Code:
DEL "%WD_FILE%"
 


to remove the detected file.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
vcopola
YaBB Newbies
*
Offline



Posts: 16
Re: jpeg to pdf
Reply #4 - Feb 10th, 2014 at 11:52am
 
upps. sorry a million and a million thanks
works perfectly.
Back to top
 
 
IP Logged
 
vcopola
YaBB Newbies
*
Offline



Posts: 16
Re: jpeg to pdf
Reply #5 - Feb 19th, 2014 at 1:09pm
 
One more question ..
It could indicate that the generated pdf was a a4 size?
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1