WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> jpeg to pdf
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1391005561

Message started by vcopola on Jan 29th, 2014 at 3:26pm

Title: jpeg to pdf
Post by vcopola on 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

Title: Re: jpeg to pdf
Post by Gert on 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
)
[/code):

with
[code]IF "%WD_FILE_E%" NEQ "JPG" (
   IF "%WD_FILE_E%" NEQ "JPEG" GOTO :EOF
)

and it should work.

Title: Re: jpeg to pdf
Post by vcopola on Feb 7th, 2014 at 4:59pm
Hello and thanks for the reply
Jpg could erase automatically after?

Title: Re: jpeg to pdf
Post by Gert on 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%"
[/code):

so just replace it with
[code]DEL "%WD_FILE%"

to remove the detected file.

Title: Re: jpeg to pdf
Post by vcopola on Feb 10th, 2014 at 11:52am
upps. sorry a million and a million thanks
works perfectly.

Title: Re: jpeg to pdf
Post by vcopola on Feb 19th, 2014 at 1:09pm
One more question ..
It could indicate that the generated pdf was a a4 size?

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.