{"action":"closed","issue":{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/153","repository_url":"https://api.github.com/repos/PHPOffice/PHPPresentation","labels_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/153/comments","events_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/issues/153/events","html_url":"https://github.com/PHPOffice/PHPPresentation/issues/153","id":120500419,"number":153,"title":"Maintain aspect ratio?","user":{"login":"bgetkin","id":3900325,"avatar_url":"https://avatars.githubusercontent.com/u/3900325?v=3","gravatar_id":"","url":"https://api.github.com/users/bgetkin","html_url":"https://github.com/bgetkin","followers_url":"https://api.github.com/users/bgetkin/followers","following_url":"https://api.github.com/users/bgetkin/following{/other_user}","gists_url":"https://api.github.com/users/bgetkin/gists{/gist_id}","starred_url":"https://api.github.com/users/bgetkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgetkin/subscriptions","organizations_url":"https://api.github.com/users/bgetkin/orgs","repos_url":"https://api.github.com/users/bgetkin/repos","events_url":"https://api.github.com/users/bgetkin/events{/privacy}","received_events_url":"https://api.github.com/users/bgetkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/labels/Component%20-%20PowerPoint2007","name":"Component - PowerPoint2007","color":"444444"},{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/labels/Type%20-%20Bug","name":"Type - Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Progi1984","id":1533248,"avatar_url":"https://avatars.githubusercontent.com/u/1533248?v=3","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false},"assignees":[{"login":"Progi1984","id":1533248,"avatar_url":"https://avatars.githubusercontent.com/u/1533248?v=3","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PHPOffice/PHPPresentation/milestones/7","html_url":"https://github.com/PHPOffice/PHPPresentation/milestones/0.7.0","labels_url":"https://api.github.com/repos/PHPOffice/PHPPresentation/milestones/7/labels","id":1539224,"number":7,"title":"0.7.0","description":"","creator":{"login":"Progi1984","id":1533248,"avatar_url":"https://avatars.githubusercontent.com/u/1533248?v=3","gravatar_id":"","url":"https://api.github.com/users/Progi1984","html_url":"https://github.com/Progi1984","followers_url":"https://api.github.com/users/Progi1984/followers","following_url":"https://api.github.com/users/Progi1984/following{/other_user}","gists_url":"https://api.github.com/users/Progi1984/gists{/gist_id}","starred_url":"https://api.github.com/users/Progi1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Progi1984/subscriptions","organizations_url":"https://api.github.com/users/Progi1984/orgs","repos_url":"https://api.github.com/users/Progi1984/repos","events_url":"https://api.github.com/users/Progi1984/events{/privacy}","received_events_url":"https://api.github.com/users/Progi1984/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":50,"state":"open","created_at":"2016-01-24T11:11:37Z","updated_at":"2016-09-01T06:50:50Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-12-04T22:34:57Z","updated_at":"2016-09-01T06:50:50Z","closed_at":"2016-09-01T06:50:50Z","body":"I am successfully loading an existing pptx file that has an aspect ratio of 16:9, adding text elements to it then writing to a new pptx file. However, the new file has an aspect ratio of 4:3.  Is there a way to define the ratio for the new file, or set it to maintain original, that I'm not finding.?\r\n\r\nCode:\r\n```php\r\n$pptReader = IOFactory::createReader('PowerPoint2007');\r\n$objPHPPowerPoint = $pptReader->load('template.pptx');\r\n\r\n// Adding text elements here\r\n\r\n$oWriterPPTX = IOFactory::createWriter($objPHPPowerPoint, 'PowerPoint2007');\t\t\r\n$oWriterPPTX->save('new.pptx');\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28867070-maintain-aspect-ratio?utm_campaign=plugin&utm_content=tracker%2F323104&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323104&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"Progi1984"}}