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

Save mask does not respond #10

Closed
mldm4 opened this issue May 23, 2018 · 12 comments
Closed

Save mask does not respond #10

mldm4 opened this issue May 23, 2018 · 12 comments

Comments

@mldm4
Copy link

mldm4 commented May 23, 2018

I am loading a directory containing only .jpg images.
Some them are normally saved, but some others just do not respond when clicking 'Save current image' nor pressing 'Ctrl+S'. I have checked it happens always on the same images. I do not see any particular common pattern among them that could give me a hint of what is going on.
I wonder if you have any idea of what could possibly be the reason.

Thanks.

@akileshbadrinaaraayanan
Copy link

akileshbadrinaaraayanan commented May 26, 2018

Exactly, even I am facing the same issue. Some get saved where as others do not respond with 'Ctrl+S'. I am currently using the ubuntu binary 1.3.0. However, I even tried with older version 1.2.1 and the same issue persists there as well.

Thanks,
Akilesh

@abreheret
Copy link
Owner

How much image do you have in your directory ?
Do you have a lot of memory ram ?
The bug reproduce also on Windows OS ?
I would like to reproduce this bug on my PC.

Thanks,

@akileshbadrinaaraayanan
  1. Around 120 images in directory.
  2. Sufficient memory RAM.
  3. Not sure about Windows OS.

Thanks,
Akilesh

@akileshbadrinaaraayanan

@abreheret : Were you able to reproduce this bug?

@mldm4
Copy link
Author

mldm4 commented May 27, 2018

It is the same for me. I have 60 images, 8G RAM. I don't have any Windows machine available.

@abreheret
Copy link
Owner

I do not have linux on hand at the moment, I will try to reproduce this bug as soon as possible.
What is your linux distribution ?

@mldm4
Copy link
Author

mldm4 commented May 27, 2018

Ubuntu 16.04

@akileshbadrinaaraayanan

Likewise, Ubuntu 16.04

@sebastianor
Copy link

Same here on MacOS High Sierra 10.13.4

@TomKomar
Copy link

TomKomar commented Jun 4, 2018

Same on Win10. 16GB RAM, 100 small images (35x320). Stop saving at random times.

@PROGrand
Copy link
Contributor

PROGrand commented Aug 1, 2018

this is a bug in utils.cpp isFullZero:
replace width with bytesPerLine.

bool isFullZero(const QImage& image) {
...
for (int x = 0; x < image.bytesPerLine(); x++) {
...
}
return true;
}

@abreheret
Copy link
Owner

fix in v1.3.1

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

6 participants