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

non-square image #4

Open
lpuglia opened this issue Nov 18, 2017 · 1 comment
Open

non-square image #4

lpuglia opened this issue Nov 18, 2017 · 1 comment

Comments

@lpuglia
Copy link

lpuglia commented Nov 18, 2017

Does mojo supports non-square image? I was trying to use it with VGA size images and it was giving seg-fault error, then i found this in the code:

const int outsize = node_size*node_size;

it looks like that it only support square images, am I correct?

@gnawice
Copy link
Owner

gnawice commented Nov 30, 2017

Sorry for the late reply. It is 1/2 wired up to handle non-square, but it currently does not. Either pad or crop the image or just squash it to square.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants