Clicky


Kindly provide links / urls to get freeware that can do the above :

I have ebooks scanned by a handheld scanner that saves each
page scanned into jpg (& another one is png) files & I have to
close current jpg page & open another jpg file when I'm moving
from one page to another (the MS image editor closing/opening
takes time).  With, say 50 files in one multi-page tif file, it's much
faster

asked 12/03/2011 04:11

sunhux's gravatar image

sunhux ♦♦


9 Answers:
You can use doro PDF, install it, set all jpg in a word document and print it to DORO pdf.

Found these programs also:
http://www.freewarefiles.com/JPEG-To-PDF_program_23144.html
http://www.jpegtopdf.com/
link

answered

dmeeren's gravatar image

dmeeren


Think the 1st link was reported by my laptop's Trend AV as having malware
as it redirects it to :
  http://mg.dt00.net/js/f/r/freewarefiles.com.5478.js


Does the tool in the 2nd link converts multiple jpg files to a single multi-page PDF?
link

answered 2011-12-04 at 02:03:09

sunhux's gravatar image

sunhux

Thats a bummer, i did not get any popup from MS Security essentials...

The second link i see this comment

Pros:  Serves my purpose. Other freewares that you can find thru google can only convert a single jpg to single pdf. This one does multiple jpg to single pdf. Superb!!!!!

Cons:  Can't find any yet.
link

answered 2011-12-04 at 20:22:21

dmeeren's gravatar image

dmeeren

A program that runs ONLY from the command line and does what you need is a little standalone program named "nConvert" which is the partner program for the free XnView image viewer/editor:
http://www.xnview.com/en/xnview.html
http://www.xnview.com/en/nconvert.html

Read my comments in this question for an example of how to use it with the    -multi   switch to create a Multi-Page TIF/TIFF file from source images:
http://www.qa.downappz.com/Q_27317855.html
link

answered 2011-12-05 at 03:46:36

BillDL's gravatar image

BillDL

I suppose you would have to consider what order you want your images as the pages in a Multi-Tif file.  Logic would tell me that you would want them in the same alphabetically/numerically ascending sort order as you would see them in Windows Explorer.

If you put all of the source images you want to combine into one Multi-TIF into a single folder and then run the following command on that folder:
DIR /a-d /on /b "*.jpg">list.txt
you will have a text file containing just the names of all those files that can be used by nConvert.

Copy your "nconvert.exe" into that same folder and you can then run the following command in that folder to build "newfile.tif" with all those images as separate pages in the correct sort order:

nconvert -multi -l list.txt -o newfile.tif -out tiff

-multi   = Create a multi-page TIFF/DCX/LDF file
-l          = Use the specified list file for processing
-o         = Name of output file that follows
-out      = Specifies the format of the output file (note: must be TIFF and not TIF)

If you want verbose output on screen just add -v to the end of the command.

In the example I discussed here:
http://www.qa.downappz.com/Q_27317855.html
I also added the -c switch and specified a compression value of 2 which is LZW compression.  I would suggest that you DO NOT use the -D switch that I suggested in that other question.  In that case we needed to extract all the pages from an existing Multi-TIF to separate images, replace the first one, rebuild a new Multi-TIF with the replaced image, then delete all the extracted images again.  The -D switch means "delete all source images used", which you DON'T want to be doing.
link

answered 2011-12-05 at 10:50:20

BillDL's gravatar image

BillDL

By the way, nConvert works fine with a list file even if your source image file names contain spaces.  They do not have to be double-quoted in the list file as is often the case with other command line programs.
link

answered 2011-12-05 at 11:13:25

BillDL's gravatar image

BillDL


Bear with me Bill,

can  nConvert perform at the command line to do mass rotation of the jpg / png
 images : I have quite a number of jpg images not in the right orientation.

I've created another EE thread id 27482461 which you may reply there
link

answered 2011-12-05 at 11:22:01

sunhux's gravatar image

sunhux

Excellent
link

answered 2011-12-07 at 08:21:12

sunhux's gravatar image

sunhux

Thank you sunhux.

Sorry, I didn't see your other question until now, and I see that you went for the IrfanView method of rotating the images.  I would probably have suggested IrfanView also, but from the command line, as I am more familiar with the IrfanView commands.

With IrfanView all the command line switches must be lowercase.
Wildcards supported only for /convert, /print, /info and /jpg_rotate switches.

General usage:
i_view32.exe "C:\Folder\File.jpg" /switch1=(option(s)) /switch2=(option(s))

In some programs rotation can be "lossy" and degrade the image.

Taken from the help file:

Basic Rotate switches:
/rotate_r             - rotate input image to right
/rotate_l             - rotate input image to left

Better way to do JPG lossless rotation with IrfanView:

Switch:  /jpg_rotate=(options)

Examples:

options = all 8 options from the JPG lossless dialog:
transformation, optimize, EXIF date, current date, set DPI, DPI value, marker option, custom markers

Note: this option will overwrite the original file(s)!

Values:
  Transformation   : None (0), Vertical (1) ... Auto rotate (6)
  Optimize         : 0 or 1
  Set EXIF date    : 0 or 1
  Keep current date: 0 or 1
  Set DPI          : 0 or 1
  DPI value        : number
  Marker option    : Keep all (0), Clean all (1), Custom (2)
  Custom markers values (can be combined (add values)):
      Keep Comment 1
      Keep EXIF    2
      Keep IPTC    4
      Keep others  8

Auto rotate, optimize, set EXIF date as file date, set DPI to 300, keep all markers:
i_view32.exe c:\test.jpg /jpg_rotate=(6,1,1,0,1,300,0,0)

Auto rotate, optimize, set EXIF date as file date, keep EXIF and IPTC markers:
i_view32.exe c:\test.jpg /jpg_rotate=(6,1,1,0,0,0,2,6)

Rotate 90, optimize, use current file date, clean all markers:
i_view32.exe c:\test.jpg /jpg_rotate=(3,1,0,1,0,0,1,0)

For all JPGs: Auto rotate, optimize, set EXIF date as file date, keep all markers:
i_view32.exe c:\images\*.jpg /jpg_rotate=(6,1,1,0,0,0,0,0)

The answer to your question here about whether rotation can be achieved with nConvert is Yes.

nConvert lossless JPEG transformations (from the usage manual)

Switch   -jpegtrans op
where "op" can be one of the following:
  rot90  : Rotate 90 degrees
  rot180 : Rotate 180 degrees
  rot270 : Rotate 270 degrees
  exif   : Use orientation EXIF tag
  vflip  : Flip vertical
  hflip  : Flip horizontal

eg.
use list.txt as source for file names, rotate by 90 degrees (right)
nconvert -jpegtrans rot90 list.txt

I haven't tested the above command, but I will if you want to try nConvert instead of IrfanView.

If you are wondering what the EXIF tag is, this is data written to the file from the digital camera that took the image and software that is able to read and use this data tag will automatically display the image the correct way up.  In this case is you used:

nConvert -jpegtrans exif filename1.jpg

it would rotate it according to the orientation set in the EXIF tag within the image.

If you were just running the rotate command on a folder of image files or list of files and didn't use the EXIF operator, the program would not know if it was doing the right thing by rotating all images eg. 270 degrees.  A while ago I wrote a batch file to crop images to a certain size, but I had to first know the orientation of the image to crop it properly.  I used a little standalone command line program to read the image file and provide a report which included whether it was portrait or landscape, and then had IrfanView rotate if required and crop.  It was actually quite a complex batch file, but it was the only way to know for sure.  The EXIF operator would have been much more useful had I been using nConert back then.

Bill
link

answered 2011-12-14 at 18:00:57

BillDL's gravatar image

BillDL

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×1

Asked: 12/03/2011 04:11

Seen: 261 times

Last updated: 12/14/2011 10:00