when i am rotating an Image (PDF) the image looses quality.
what can I do?
thank you GH
Rotating PDF less Quality
Moderator: Alex
Re: Rotating PDF less Quality
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
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
Re: Rotating PDF less Quality
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
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
Hello,
Best regards, Alexander
In this case you need to use PdfRotateCommand class.I loaded the image to your Vintasoft.Imaging.UI.AnnotionViewer and want to rotate the image with annotations inside the viewer?
Best regards, Alexander