×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Fitsviewer Magnifying Glass

  • Posts: 1221
  • Thank you received: 565
I added a magnifying glass feature to the Fitsviewer, and to the various image windows (guide, focus, align) that use that code.
It is available in the latest source code and latest Ubuntu nightly. 

 

It's currently fixed at a 8X magnification (compared to the currently displayed image's zoom.

It's activated by mousing over an image and pressing the control key--no need to click the mouse button. 
Depressing control enables it, releasing control disables it. However, you may need to slightly move the mouse
to get it to react to pressing/releasing the control key. You can keep the control key pressed and move the mouse
around and thereby exploring with the magnifier.

There are no other controls yet, so it wouldn't be usable, e.g. on a table/phone.
Pressing the mouse and panning would have been an alternative way to activate this, that would be compatible with a table,
but it's currently used to move the image, e.g. if you have scroll bars (if the display space is smaller than the space the image
would fully occupy). How would you feel about switching that functionality to the magnifier?

We're still discussing the user interface, and of course input is welcome.
Hy
 
The following user(s) said Thank You: Alfred, Stephen Wong, TuxAstro, ALESSANDRO PENSATO
2 years 10 months ago #71615
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 71
  • Thank you received: 6
Hello Hy,

Good feature, thanks a lot, I thought G as Glass + clic Mouse..or M as Magnifying ...
2 years 10 months ago #71619

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0

Replied by Snapsan on topic Fitsviewer Magnifying Glass

Great feature!
Do you think you could implement a full screen mode for fits viewer? I’m streaming the fits viewer through Apple TV to my tv for eaa and would like to get rid of these bars on top.
2 years 10 months ago #71632

Please Log in or Create an account to join the conversation.

  • Posts: 969
  • Thank you received: 94

Replied by alacant on topic Fitsviewer Magnifying Glass

Hi Hy, everyone

Great upgrade. Love it.

Cheers and clear skies,
Steve
2 years 10 months ago #71639

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 6

Replied by Jack on topic Fitsviewer Magnifying Glass

Just did a git pull (05/26/21) of all three repos. Did a clean, build,install on my Rpi4 ARM32 Astroberry.

I'm not seeing the magnifier at all in fits viewer. Anything I need to turn on? (I did look in all the options).

Thanks
2 years 10 months ago #71648

Please Log in or Create an account to join the conversation.

  • Posts: 1221
  • Thank you received: 565
Jack,

To make sure you have the right source, 
check kstars/fitsviewer/fitsview.cpp line 1015, and it should look like this:
invent.kde.org/education/kstars/-/blob/m...r/fitsview.cpp#L1015
Make sure you are executing the binary you built, not the release binary.
E.g. the kstars binary you're running should have a date (e.g. from ls -l) around the time you compiled.

There are no settings, 
Display some image on your fitsviewer, move your mouse over a star in the fitsviewer  (no mouse buttons pressed),
press and hold the control key, and slightly move the mouse (if you don't see it right away) and you should see it.

Hy
2 years 10 months ago #71656

Please Log in or Create an account to join the conversation.

  • Posts: 48
  • Thank you received: 6

Replied by Jack on topic Fitsviewer Magnifying Glass

Got it, executing wrong build.

Thanks,
Jack
2 years 10 months ago #71657

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 12
This is an excellent feature - thank you!
2 years 10 months ago #71665

Please Log in or Create an account to join the conversation.

Time to create page: 1.426 seconds