New PixInSight script to add picture frame with annotations PixInsight Addicts · Astrochromata · ... · 16 · 440 · 0

rayp 4.52
...
·  15 likes
I developed a PixInSight Script that automatically adds a picture frame with an image title and room for annotations. It can be freely downloaded from github: https://github.com/RaymondPackbier/PixInSight_AnnotationFrame.git.
The resulting image and user interface can be seen here: Image on Astrobin

The text is scaled and centered automatically so only minimal user interaction is required.
The annotations at the bottom are customizable and standard fonts can be selected from the menu. You can however use any font on your system by typing the font name in the box.
Note that some external fonts may not render correctly.In the revisions section I have also stored a screenshot of the user interface.For instructions how to install a PixInSight script, see: https://mail.pixinsight.com.ar/en/docs/2/pixinsight-add-script.html
If you experience any errors or bugs, please let me know .

CS,
Ray
Edited ...
Like
astroedo 6.21
...
·  1 like
I was just thinking to do such a thing!
Thank you for sharing.
Like
rayp 4.52
...
·  1 like
I was just thinking to do such a thing!
Thank you for sharing.

Hi Edo,

it was thanks to the great scripting webinar that I was able to do this (and a lot of cloudy nights lately ).
Thanks again for the great webinar!

CS,
Ray
Like
rayp 4.52
...
·  1 like
I just uploaded a new version of the script to github with a smaller GUI to accommodate smaller screens.
Also a minor bugfix was done.
Like
astrothemis.gr 0.00
...
·  2 likes
I developed a PixInSight Script that automatically adds a picture frame with an image title and room for annotations. It can be freely downloaded from github: https://github.com/RaymondPackbier/PixInSight_AnnotationFrame.git.
The resulting image and user interface can be seen here: Image on Astrobin

The text is scaled and centered automatically so only minimal user interaction is required.
The annotations at the bottom are customizable and standard fonts can be selected from the menu. You can however use any font on your system by typing the font name in the box.
Note that some external fonts may not render correctly.In the revisions section I have also stored a screenshot of the user interface.For instructions how to install a PixInSight script, see: https://mail.pixinsight.com.ar/en/docs/2/pixinsight-add-script.html
If you experience any errors or bugs, please let me know .

CS,
Ray

Nice work!! Thanks for share it!!!
Like
astroedo 6.21
...
·  1 like
I just uploaded a new version of the script to github with a smaller GUI to accommodate smaller screens.
Also a minor bugfix was done.



if you haven't done yet, publish it also on the PixInsight forum dedicated to PJSR scripting.
It will be welcome for sure!
Like
rayp 4.52
...
I just uploaded a new version of the script to github with a smaller GUI to accommodate smaller screens.
Also a minor bugfix was done.

if you haven't done yet, publish it also on the PixInsight forum dedicated to PJSR scripting.
It will be welcome for sure!



Hi Edo,

I uploaded it yesterday tot the "new scripts and modules" forum.

CS,
Ray
Like
rayp 4.52
...
Hi all,

I just updated the new version 0.3 of the script. The files are stored at the original github location.

The changes are:
  • The fonts are now scalable to allow more creativity
  • All parameters are stored in the FITS header, allowing for easier experimentation
  • An extensive manual has been included.

CS,
Ray
Like
menardre
...
I would like to use your script.

How do I upload your script from the site? 

Roger
Like
rayp 4.52
...
Roger Menard:
I would like to use your script.

How do I upload your script from the site? 

Roger

Hi Roger,

easiest is if you get the script from https://github.com/RaymondPackbier/PixInSight_AnnotationFrame.git. Under the green "Code" button you will find an option to download a zip file. 

The instructions for installing the script in PixInSight are here: https://pixinsight.com.ar/index.php?s=documentos_detalle&doc_id=2&key=add-script&i=2

If you have problems downloading or installing, please let me know.

CS,
Ray
Like
menardre
...
Ray

I used the green button and selected download ZIP. I then UNZipped and moved the entire directory to my PixInsight directory. I can see there are 7 files, a word fil, a PDF file, the java script file, and 4 JPG files.  I then opened PixInsight, selected 'Script', then selected 'Feature Scripts'. Then selected 'Add' and navigated to the directory where your java script is located. Pixinsight seemed to find the 1 script however when I pressed 'regenerate' I do not see your script anywhere. If I re-run the Feature Scripts' it says '0' scripts found.  Where would I find your script if it was installed? Utilities???  When I scroll through the sccripts in Feature Scripts' I do not see AnnotationFrame anywhere.

I would really like to use your script since I send my images to our local astronomy club.

Roger
Like
rayp 4.52
...
Roger Menard:
Ray

I used the green button and selected download ZIP. I then UNZipped and moved the entire directory to my PixInsight directory. I can see there are 7 files, a word fil, a PDF file, the java script file, and 4 JPG files.  I then opened PixInsight, selected 'Script', then selected 'Feature Scripts'. Then selected 'Add' and navigated to the directory where your java script is located. Pixinsight seemed to find the 1 script however when I pressed 'regenerate' I do not see your script anywhere. If I re-run the Feature Scripts' it says '0' scripts found.  Where would I find your script if it was installed? Utilities???  When I scroll through the sccripts in Feature Scripts' I do not see AnnotationFrame anywhere.

I would really like to use your script since I send my images to our local astronomy club.

Roger

Hi Roger,

this procedure should work actually, in fact all you need is the .js file (the doc and pdf are the manual for usage).
The script is located in the "Render" category, could you have a look there?

CS,
Ray
Like
menardre
...
I did look in the Render category. There is an 'AnnotateImage' script.. but that is not yours.


Roger
Like
menardre
...
I next tried going to 'execute script' and selected your script... and it worked fine. Still not sure why it does not show up in the Script window.  Looks like it is exactly what I want.. great job!

Is there anyway of undoing what I previously did and try to re-install?? I would really like to have the script available from the Script menu

Roger
Like
umbarak 0.00
...
·  1 like
Thanks for sharing!!!! Looks nice!
Like
rayp 4.52
...
Roger Menard:
I next tried going to 'execute script' and selected your script... and it worked fine. Still not sure why it does not show up in the Script window.  Looks like it is exactly what I want.. great job!

Is there anyway of undoing what I previously did and try to re-install?? I would really like to have the script available from the Script menu

Roger

You could try unpacking the script in a different directory - for example Downloads.
Then add the script from there using scripts->feature scripts>add. I just tried that and that works for me.

I don't think undoing is necessary by the way.

CS,
Ray
Like
menardre
...
·  1 like
Got it..
What fooled me was I was looking for a script called 'AnnotatedFrames' when your script is actually  Image Annotation Frame.

I should have looked closer.

Roger
Like
 
Register or login to create to post a reply.