Printing to PDF and JPEG direction

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
durumdara
Posts: 19
Joined: Mon Jan 05, 2009 10:32 am

Printing to PDF and JPEG direction

Post by durumdara »

Hi!

I search for a way to make same result as with Adobe Photoshop.

It can read input images, and insert them to PDF.

With Bullzip PDF I can do same thing when I choose custom page, with 297*297 72 DPI.

But the problem that my pictures are visible good in the XNView list, so they are visible wrong orientation in the printing.
For example:
The landscape pictures are shown good, but portrait pictures are rotated left 90 d.

So I cannot show them in the PDF file...

Please help me, may I set wrong option, etc.

Thanks:
dd
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Printing to PDF and JPEG direction

Post by xnview »

Sorry but i don't understand, you means that XnView show correctly your PDF file, but when you print it the picture is rotated?
Pierre.
durumdara
Posts: 19
Joined: Mon Jan 05, 2009 10:32 am

Re: Printing to PDF and JPEG direction

Post by durumdara »

xnview wrote:Sorry but i don't understand, you means that XnView show correctly your PDF file, but when you print it the picture is rotated?
Step by step...

0.)
Install PDF Printer (Virtual PDF Printer).

1.)
Open a directory with pictures.
Photos, with EXIF oriented JPEGs. Some of them are landscape, some portrait.

2.)
Select 5 of them (let portrait and landscape too).

3.)
Print dialog.

4.)
Set printer to 297x297.

5.)
Go back to print dialog.

6.)
XNView show the preview.
If you check it, you see that orientation is wrong, the portrait pictures are visible wrong direction.

7.)
If you print it, you got this wrong result.

So: ok, you want to optimize for printing, but sometime this not possible, if the paper is square.
This paper needs for PDF album (you want to see all the pictures in square).

Thanks for your read:
dd
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: Printing to PDF and JPEG direction

Post by obelisk »

I don't really understand what you are talking about, but Xnview cannot fix PDF Printer issues.
durumdara
Posts: 19
Joined: Mon Jan 05, 2009 10:32 am

Re: Printing to PDF and JPEG direction

Post by durumdara »

obelisk wrote:I don't really understand what you are talking about, but Xnview cannot fix PDF Printer issues.
Hi!

This is NOT PDF Printer Problem. This is XNView problem.

I tried to print pictures to PDF.

But XNView not use the JPEG Exif direction, not use the normal directions, and some pictures are rotated, some of them not...

The rotation is good for normal printing where one size of the page is greater than other.

But when page sizes are similar, this rotation is wrong, we need to see all pictures in one direction (so you need to correct them to see as they visible in xnview browser (include EXIF).

I will send you some example (screenshot) in mail, because I don't have site to share them.

Thanks for your read:
dd
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Printing to PDF and JPEG direction

Post by oops66 »

durumdara wrote:...This is NOT PDF Printer Problem. This is XNView problem ...
Hello durumdara,
I think it's an user problem :wink: (I am joking)
In this case, why not using Create\Multi page file \... pdf ?
or Create\Strip of images ?
So mouse select or tag your images, Create\Strip of images \ vertical alignment\ ... \ create
...then save as PDF (or print to a virtual pdf printer)
...By these ways the orientation should be OK.

PS: to post here a screenshot, you can use the XnView imageshack plugin or directly here: http://imageshack.us/ and add the image link
XnViewMP Linux X64 - Debian - X64
durumdara
Posts: 19
Joined: Mon Jan 05, 2009 10:32 am

Re: Printing to PDF and JPEG direction

Post by durumdara »

oops66 wrote: Hello durumdara,
I think it's an user problem :wink: (I am joking)
In this case, why not using Create\Multi page file \... pdf ?
or Create\Strip of images ?
So mouse select or tag your images, Create\Strip of images \ vertical alignment\ ... \ create
...then save as PDF (or print to a virtual pdf printer)
...By these ways the orientation should be OK.
Yes, it is, this is a "user don't know enough the XNView" problem.

So... I checked you suggestions.

The Strip is not good for me, because it is shrink the pictures, but MultiPage is good!

But: simple PDF printing is wrong, because I cannot determine the PDF Image's DPI value.
These PDFs are created for emailable albums, so they are need to create lowest size as possible.

The solution: I create TIFF from the pictures, I reopen in XNView, print it with bullzip pdf printer, and there I can set "DPI 72", and 297/297 size.
The result is uniform sized pictures in a PDF file.

Thanks for your help!!!

dd
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Printing to PDF and JPEG direction

Post by XnTriq »

This maybe related: Dpi for PDF not correct
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Printing to PDF and JPEG direction

Post by oops66 »

...So maybe an new option like here is interesting for PDF write options (for bitmap-images) ???
Image
add:
print size = ## x ##
DPI = ##
???
XnViewMP Linux X64 - Debian - X64
Post Reply