{"action":"created","issue":{"url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/13","labels_url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/13/comments","events_url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/13/events","html_url":"https://github.com/Birdbrain2/PdfBox-Android/issues/13","id":54169129,"number":13,"title":"PDPageContentStream's append mode misbehaving.","user":{"login":"rupehshsasne","id":1647166,"avatar_url":"https://avatars.githubusercontent.com/u/1647166?v=3","gravatar_id":"","url":"https://api.github.com/users/rupehshsasne","html_url":"https://github.com/rupehshsasne","followers_url":"https://api.github.com/users/rupehshsasne/followers","following_url":"https://api.github.com/users/rupehshsasne/following{/other_user}","gists_url":"https://api.github.com/users/rupehshsasne/gists{/gist_id}","starred_url":"https://api.github.com/users/rupehshsasne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupehshsasne/subscriptions","organizations_url":"https://api.github.com/users/rupehshsasne/orgs","repos_url":"https://api.github.com/users/rupehshsasne/repos","events_url":"https://api.github.com/users/rupehshsasne/events{/privacy}","received_events_url":"https://api.github.com/users/rupehshsasne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T09:42:46Z","updated_at":"2015-01-13T12:50:13Z","closed_at":"2015-01-13T12:50:13Z","body":"I am drawing an image on one of the PDF page.. when I use `PDPageContentStream stream = new PDPageContentStream(doc, page);` to draw image, everything works fine.. see below image. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/1647166/5718618/e44fa380-9b35-11e4-913c-8bac367e48d5.png)\r\n\r\nbut when I use constructor `PDPageContentStream stream = new PDPageContentStream(doc, page, true, true);` to create `PDPageContentStream` to draw image the newly added image gets inverted upside down.. \r\n\r\n![image](https://cloud.githubusercontent.com/assets/1647166/5718600/a6075974-9b35-11e4-8b6b-f7b172a2f895.png)\r\n\r\nNot sure whether it's an issue or it should work like this only.. if it's not the bug then can you suggest any workaround?"},"comment":{"url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/comments/69739492","html_url":"https://github.com/Birdbrain2/PdfBox-Android/issues/13#issuecomment-69739492","issue_url":"https://api.github.com/repos/Birdbrain2/PdfBox-Android/issues/13","id":69739492,"user":{"login":"rupehshsasne","id":1647166,"avatar_url":"https://avatars.githubusercontent.com/u/1647166?v=3","gravatar_id":"","url":"https://api.github.com/users/rupehshsasne","html_url":"https://github.com/rupehshsasne","followers_url":"https://api.github.com/users/rupehshsasne/followers","following_url":"https://api.github.com/users/rupehshsasne/following{/other_user}","gists_url":"https://api.github.com/users/rupehshsasne/gists{/gist_id}","starred_url":"https://api.github.com/users/rupehshsasne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupehshsasne/subscriptions","organizations_url":"https://api.github.com/users/rupehshsasne/orgs","repos_url":"https://api.github.com/users/rupehshsasne/repos","events_url":"https://api.github.com/users/rupehshsasne/events{/privacy}","received_events_url":"https://api.github.com/users/rupehshsasne/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T12:50:13Z","updated_at":"2015-01-13T12:50:13Z","body":"found the answer http://stackoverflow.com/a/27919730/787438"}}