VintaSoft PDF .NET Plug-in Discussions

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

Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Rotating PDF less Quality



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


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/vsimaging-dotnet/Vintasoft.Imaging.Pdf/Vintasoft.Imaging.Pdf.Processing.PdfPageRotateOrthogonallyCommand.html)
3. PdfRotateCommand class (https://www.vintasoft.com/docs/vsimaging-dotnet/Vintasoft.Imaging.Pdf/Vintasoft.Imaging.ImageProcessing.Transforms.PdfRotateCommand.html)

Best regards, Alexander


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


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


Page 1 from 1: 1