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

Input image size do not check #14

Open
impeeza opened this issue Nov 4, 2024 · 2 comments
Open

Input image size do not check #14

impeeza opened this issue Nov 4, 2024 · 2 comments

Comments

@impeeza
Copy link
Contributor

impeeza commented Nov 4, 2024

Hello there, I just realize if you feed to the input image a image with invalid size the IPS generated are for that file, which can be a problem, by example, I just feed a 1024*1024 file as input image and a set of files with 4042449 bytes was created and my console crashed on boot, because that IPS files overwritten code of the main file on the memory.

May be a pixel size could be implemented after open a image file.

regards.

@Kronos2308
Copy link
Contributor

Yes that's right
I assume the people are gonna use the right size
But yes is the possibility that you use a bigger file

@Kronos2308
Copy link
Contributor

I never gave importance to that issue because I thought it was irrelevant, but I could do something that takes the image I or an error or directly rescales the image and processes it

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