<div dir="ltr">As the image parsing is multi-threaded (or at least must use one separated thread), this must be acceptable.<div><br></div><div>I don't remember if i patch this code to use multi-core in the past. If it's not the case, it's easy to do, as i do with other editor tools.</div><div><br></div><div>We can limit the max number of hot pixel with a setting in tool view.</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-14 23:39 GMT+02:00 Maik Qualmann <span dir="ltr"><<a href="mailto:metzpinguin@gmail.com" target="_blank">metzpinguin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The black image has 2701 hot pixels ...<br>
I notice no speed problem if we maybe increase the value to 5000?<br>
<br>
Maik<br>
<br>
Am Dienstag, 14. August 2018, 23:33:43 CEST schrieben Sie:<br>
<div class="HOEnZb"><div class="h5">> The image exceeds const int maxHotPixels = 1000, so it will be canceled.<br>
> <br>
> From code:<br>
> <br>
> // If you accidentally open a normal image for a black frame, the tool and<br>
> host application will<br>
> // freeze due to heavy calculation.<br>
> // We should stop at a certain amount of hot pixels, to avoid the freeze.<br>
> // 1000 of total hot pixels should be good enough for a trigger. Images with<br>
> such an amount of hot pixels should<br>
> // be considered as messed up anyway.<br>
> <br>
> Maik<br>
> <br>
> Am Dienstag, 14. August 2018, 23:21:22 CEST schrieb Lutz Epperlein:<br>
> > You can download both files from my piwigo:<br>
> > <<a href="https://epperleinberlin.name/piwigo/index.php?/category/46" rel="noreferrer" target="_blank">https://epperleinberlin.name/<wbr>piwigo/index.php?/category/46</a>><br>
> > <br>
> > Thanks<br>
> > Lutz<br>
> > <br>
> > Am Tue, 14 Aug 2018 23:06:21 +0200<br>
> > <br>
> > schrieb Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>>:<br>
> > > Can you share the image to process and the hot pixel one. I would to<br>
> > > try in my computer.<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>