AliSoftware / AliSoftware/OHPDFImage

Landscape PDFs coming out as portrait images

オープン
#14 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
56
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

Your library is fantastic, it makes working with PDFs on iOS so easy!

I've come across a PDF which has landscape slides when viewed in various PDF viewers but when using OHPDFImage to extract the pages they are coming out sideways in portrait. I put the PDF into your OHPDFImageDemo app just to make sure I wasn't doing something wrong and I've attached a screenshot below so you can see what I mean.

It's weird because I've got other PDFs that are landscape and they come out fine. It seems like maybe there's an orientation flag somewhere in this PDF rather than the pages just being sized as landscape.

Is there a way to detect this situation and output the pages correctly oriented?

Cheers!

![img_0111](https://cloud.githubusercontent.com/assets/2256524/17586522/3c906080-5fba-11e6-86c3-fb8c495358d7.jpg)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。