Page 2 of 2

Re: Changing PDF orientation or rotating PDF before display

Posted: Fri Nov 23, 2018 12:59 pm
by Youks
Thanks a million !
That's what I thought. Then I will try to work with PDF.js and bypass the widget for the rendering. Any guidance on how to proceed ? (i.e where to include the plugin in my app and how to call the viewer through the widget..etc...)

Thank you all for your feedback
PS: I used to develop with LC few years back and I'm a total noob in javascript :P )

Re: Changing PDF orientation or rotating PDF before display

Posted: Fri Nov 23, 2018 7:36 pm
by jacque
Youks wrote: Fri Nov 23, 2018 8:32 am I haven't tried that yet since I want to do it first on the Mac before porting it eventually to Android, that is why I am looking into a more general approach.
The two operating systems are different. If the final goal is an Android release, I wouldn't bother trying to make it work on Mac where it will never actually be used. There's a chance the js method won't work on Android anyway, though I don't know for sure. It's so easy to implement on mobile, I never tried any other method.

Let us know if you want some pointers.

Re: Changing PDF orientation or rotating PDF before display

Posted: Mon Nov 26, 2018 7:57 pm
by Youks
Sorry for the late feedback, i played with the PDF.js and it worked but not to my taste. I am abandoning that direction and I will work with JPEG and GIF instead,

Thx

Re: Changing PDF orientation or rotating PDF before display

Posted: Mon Nov 26, 2018 9:04 pm
by [-hh]

Re: Changing PDF orientation or rotating PDF before display

Posted: Tue Nov 27, 2018 6:35 am
by Youks
Oh!! Right in Time !!! Thank you so much for your outstanding contribution !!!