Menu

division by zero error

achim2205
2024-06-28
2024-06-28
  • achim2205

    achim2205 - 2024-06-28

    Hello Han,
    in ASTAP version June 25, I get a division by zero error, if the zoom is above 2000%.
    Regards Achim

     
  • han.k

    han.k - 2024-06-28

    Hi Achim,

    I don not see it here (Windows version). Can you share the image involved? Share also your .cfg file. (You could first save the .cfg to your desktop for locating it) Maybe it is related to your settings.

    Han

     
  • achim2205

    achim2205 - 2024-06-28

    Hello Han, here is the (Windows 11) cfg. The Fits is too large for direct upload.
    Regards Achim

     
  • achim2205

    achim2205 - 2024-06-28

    The Fits-file .....

     

    Last edit: han.k 2024-06-28
  • han.k

    han.k - 2024-06-28

    Hi Achim,

    Thanks for the feedback.

    I found and fixed the problem. The zoom dimensions can not be larger then a little more then 65535. Above this value a run time error occurs There is normally no check for this so I build in a check in on the image width only. You image is in portrait orientation and the stop I build in acts too late on the width.

    I put now a check in for both the width and height. This fix will be in the next version.

    Cheers, Han

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.