Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Flip / Mirror - horizontally / vertically |
Post Reply ![]() |
Author | |
mLipok ![]() Senior Member ![]() ![]() Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
![]() ![]() ![]() ![]() ![]() Posted: 15 Oct 17 at 3:00AM |
I need to Flip / Mirror page.
Once horizontally / sometimes vertically . Do you have any conceptual idea how to make it happend ? Regards, mLipok |
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
mLipok ![]() Senior Member ![]() ![]() Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
![]() ![]() ![]() ![]() ![]() |
... to be more specyfic: I do not think about rotate feature.
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
mLipok ![]() Senior Member ![]() ![]() Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
![]() ![]() ![]() ![]() ![]() |
little bump.
Any body have some concepts ? As you know I always share results of my works. So if somebody could point me in to a good direction this can this can result in a nice result for everyone. Regards, mLipok |
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
tfrost ![]() Senior Member ![]() Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
![]() ![]() ![]() ![]() ![]() |
I would approach this issue by capturing the page, and then using DrawCapturedPageMatrix with a suitable matrix which will flip it. Problem is that the quick PDF documentation assumes you know how to set up a transformation matrix, and I don't! In theory a negative scale should flip the image, but when I tried this running this function after modifying one of the provided scripts (the second one in 'page manipulation'), 1,0,0,1,0,0 did nothing and the same with -1,0,0,1,0,0. You could also try rendering the page to a bitmap and using drawimagematrix. Good luck!
|
|
![]() |
|
mLipok ![]() Senior Member ![]() ![]() Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
![]() ![]() ![]() ![]() ![]() |
Thanks for you comment. I must try. btw. as to your concerns about matrix, look here: http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932.html ooops I know this guy, hay wait a moment it was me .. :) |
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
tfrost ![]() Senior Member ![]() Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
![]() ![]() ![]() ![]() ![]() |
I was certain that there had been a discussion here about using a matrix, and searched for it before my last posting, but it did not appear in the results! I even contributed (minimally) to the topic you started (and I had not remembered that it was you who asked for info).
Having said that, I cannot get either of the two 'matrix' API functions I mentioned to do anything useful. They return 1, which means that the matrix-transformed item was applied successfully, but it was not visible on the output. I tried this in the scripting utility, and I even patched one of my applications which applies an image to use DrawImageMatrix (with various settings), but all it does for me is make the applied image disappear. Exactly as before, I await your findings with interest! |
|
![]() |
|
mLipok ![]() Senior Member ![]() ![]() Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
![]() ![]() ![]() ![]() ![]() |
Interesting discussion :)
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store