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

[BUG] When using ImageBuf, this file reports a divide-by-zero exception error. Please take a look #4185

Open
cool2528 opened this issue Mar 12, 2024 · 0 comments

Comments

@cool2528
Copy link

Describe the bug

When using ImageBuf, this file reports a divide-by-zero exception error. Please take a look
This is a sample file.
XPPen_new_logo.zip

OpenImageIO version and dependencies
v2.4.13.0

To Reproduce

Execute the following code:

	ImageCache *cache = ImageCache::create ()
	auto inp = ImageBuf(path, cache);
	if (inp.has_error()) {
	std::cout << "parser: open image error: "  << inp.geterror() << std::endl;
	return nullptr;
}

Evidence
373c84ac874a40132f3c7c566b4fb2c

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

1 participant