Rotating PDF less Quality

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
GHWels
Posts: 40
Joined: Thu Apr 09, 2015 7:57 am

Rotating PDF less Quality

Post by GHWels »

when i am rotating an Image (PDF) the image looses quality.
what can I do?

thank you GH
Alex
Site Admin
Posts: 2373
Joined: Thu Jul 10, 2008 2:21 pm

Re: Rotating PDF less Quality

Post by Alex »

Hello,

I think you have quality loss because you are rendering PDF page and rotating rendered image, i.e. you do "raster rotation" of PDF page.

If you want to rotate content of PDF page without content rasterization, you can go by several ways:
1. PdfPage.RotateContentOrthogonaly method (https://www.vintasoft.com/docs/vsimagin ... onaly.html)
2. PdfPageRotateOrthogonallyCommand class (https://www.vintasoft.com/docs/vsimagin ... mmand.html)
3. PdfRotateCommand class (https://www.vintasoft.com/docs/vsimagin ... mmand.html)

Best regards, Alexander
GHWels
Posts: 40
Joined: Thu Apr 09, 2015 7:57 am

Re: Rotating PDF less Quality

Post by GHWels »

Thank your for your fast answer

I loaded the image to your Vintasoft.Imaging.UI.AnnotionViewer
and want to rotate the image with annotations inside the viewer?

GH
Alex
Site Admin
Posts: 2373
Joined: Thu Jul 10, 2008 2:21 pm

Re: Rotating PDF less Quality

Post by Alex »

Hello,
I loaded the image to your Vintasoft.Imaging.UI.AnnotionViewer and want to rotate the image with annotations inside the viewer?
In this case you need to use PdfRotateCommand class.

Best regards, Alexander
Post Reply