Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CIF, HVGA and XGA from default list of supported resolutions #99

Closed
sarxos opened this issue May 12, 2013 · 0 comments
Closed

Remove CIF, HVGA and XGA from default list of supported resolutions #99

sarxos opened this issue May 12, 2013 · 0 comments
Assignees
Milestone

Comments

@sarxos
Copy link
Owner

sarxos commented May 12, 2013

In addition to avoid problems reported in #94, the default list of supported resolutions should be reduced to absolute minimum. The CIF, HVGA and XGA resolutions are not supported by all the webcam devices and therefore shall not be included on that list. To support these resolutions one has to register them first.

webcam.setCustomViewSizes(new Dimension[] {
  WebcamResolution.CIF.getSize(),
  WebcamResolution.HVGA.getSize(),
  // etc
});
webcam.setViewSize(WebcamResolution.HVGA.getSize());
@ghost ghost assigned sarxos May 12, 2013
@sarxos sarxos closed this as completed in e407785 May 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant