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

rbga data array size is 0 #60

Open
yangh122 opened this issue Sep 11, 2024 · 2 comments
Open

rbga data array size is 0 #60

yangh122 opened this issue Sep 11, 2024 · 2 comments

Comments

@yangh122
Copy link

Hi Prof,

I got an error "vector subscript out of range". After debugging, I found the initial RGBA data array size is 0 which causes the issue.
image
Are we supposed to handle this case?
Thanks

@dilevin
Copy link
Owner

dilevin commented Sep 11, 2024

It looks like it’s failing to load the specified file

how are you running the code ?
Can you print the value of file name ?
Are you on windows, Linux or osx ?

@yangh122
Copy link
Author

Resolved by changing the output path
image

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