dmitric / DLCImagePickerController

ImagePickerController with live filters, radial blur and more. Brought to you by Backspaces.
www.backspac.es
BSD 3-Clause "New" or "Revised" License
1.56k stars 320 forks source link

Run camera with fullscreen #14

Closed diskep closed 12 years ago

diskep commented 12 years ago

Is it possible to show fullscreen photo when I try to capture it? Now preview video is looks cropped. I want to stretch it to screen bounds. Here is screenshot of your example: https://a248.e.akamai.net/camo.github.com/283b7fe6757d1a14f408e95838b5b8b57c0a7f26/687474703a2f2f692e696d6775722e636f6d2f724a78316c2e706e67 I'm talking about this flag photo. I want to remove that tab controls at the bottom and top and make video preview fullscreen. If it's possible, how to do that?

dmitric commented 12 years ago

yes you definitely can -- just change the size of the GPUImageView to be full screen and remove the cropFilter. Personally I like the composition of square photos though so that's why we made it as we did.

diskep commented 12 years ago

@dmitric thank you veru much for quick response. I've done what you said and it became much bigger but still not fullscreened :( It's about ~10 pixels of dark space at the top and bottom and GPUImageView has size 320x460 (-20 pixels for UIStatusBar). Do you know what it could be?

dmitric commented 12 years ago

are you using an iPhone 5?

diskep commented 12 years ago

No, I'm using iPhone 4S

dmitric commented 12 years ago

Not sure then. Could be something to do with how it's fullscreened in the sample code.