{"id":9947,"date":"2022-07-06T11:58:55","date_gmt":"2022-07-06T15:58:55","guid":{"rendered":"https:\/\/starlightcascade.ca\/blog\/?p=9947"},"modified":"2022-07-06T12:59:26","modified_gmt":"2022-07-06T16:59:26","slug":"saturn-2022july04","status":"publish","type":"post","link":"https:\/\/starlightcascade.ca\/blog\/2022\/07\/saturn-2022july04\/","title":{"rendered":"Saturn 2022July04"},"content":{"rendered":"<p><a href=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated-297x299.png\" alt=\"\" width=\"297\" height=\"299\" class=\"alignleft size-medium wp-image-9948\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated-297x299.png 297w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated-1014x1023.png 1014w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated-150x150.png 150w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated-768x774.png 768w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated.png 1428w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/><\/a><br \/>\nThis is Saturn from Monday morning.. early Monday morning.  The point of this post was to show the results of some troubleshooting with file and image management.<br \/>\nOver the last few years I have used Linux Fedora server and the ImageMagick package to manipulate and annotate astro images.  To date I place the Northisup icon, a small image of the telescope and the Observatory.  10 years later this really helps!!<br \/>\nI started also annotating the filename, which contains the date and UT time, along with other info like exposure.  This was provided by Firecapture.  It did not however store other important information, like number of frames taken.  Firecapture creates another file with all of that info.. along with a lot of other useful tidbits, like: magnitude, altitude, airmass, CMI longitude, and number of frames.<br \/>\nOver the years, files get misplaced.  I doubt if I have any of the original firecapture .txt files from 10 years ago.  So.. what if *all* of the text information was annotated to the astro image?  Let&#8217;s make two versions, one with the minimal information package and  another with it all!<br \/>\nThe above image is the original minimal.<br \/>\nThe image below is the same but with extra info added to the bottom.<br \/>\nNone of this overwrites any of the image content itself&#8230; very important!<a href=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-182x299.png\" alt=\"\" width=\"182\" height=\"299\" class=\"alignleft size-medium wp-image-9949\" srcset=\"https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-182x299.png 182w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-624x1023.png 624w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-92x150.png 92w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-768x1258.png 768w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2-937x1536.png 937w, https:\/\/starlightcascade.ca\/blog\/wp-content\/uploads\/2022\/07\/2022-07-04-0749_4-kk-l-sat_exposure41ms_zwo_asi290mc_lapl5_ap31_drizzle15p25reg.png-annotated2.png 1428w\" sizes=\"auto, (max-width: 182px) 100vw, 182px\" \/><\/a><\/p>\n<p>Next up is to center the icons at the top.<br \/>\n&#8212;<br \/>\nThe bash code looks like this:<br \/>\n#!\/bin\/bash<br \/>\necho starting 0annotateserenity2022july6-eq6-vixen<br \/>\necho removing spaces in filenames<br \/>\nfor f in *\\ *; do mv &#8220;$f&#8221; &#8220;${f\/\/ \/_}&#8221;; done<br \/>\necho change filename case to lower case<br \/>\nfor file in * ; do lower=$(echo $file | tr A-Z a-z) &#038;&#038; [[ $lower != $file ]] &#038;&#038; mv $file $lower ;done<br \/>\necho starting image processing 2022*.png<br \/>\nfor i in 2022*.png<br \/>\n do<br \/>\n#this is needed as the .txt file has a slightly different name than the .png file associated with it.<br \/>\nshort=$(echo $i | cut -c 1-20 )<br \/>\ncp $short*.txt details.txt<br \/>\necho start annotation on $i<br \/>\necho add allinone icon filename to a<br \/>\n# work on changing 410 to center?<br \/>\ncomposite -geometry +410+5  ..\/allinone.png $i a.png<br \/>\ncp a.png c.png<br \/>\necho add filename<br \/>\nconvert c.png  -gravity South  -background  lightblue -splice 0x20 -annotate +0+2  $i    d.png<br \/>\necho add kevin text d to e<br \/>\nconvert d.png  -gravity South  -background  lightblue -splice 0x20 -annotate +0+2  &#8216;Kevin Kell SCGO Serenity II Observatory Yarker Ontario Canada&#8217;    e.png<br \/>\necho add mount ota text e to f<br \/>\nconvert e.png -gravity South  -background  lightblue -splice 0x20 -annotate +0+2  &#8216;SkyWatcher AZ-EQ6GT; Vixen VC200L 200mm F9 FL=1800mm x2.0 Antares barlow =3600mm &#8216; f.png<br \/>\n#convert e.png -gravity South  -background  lightblue -splice 0x20 -annotate +0+2 &#8216;&#8221;$i&#8221;&#8216; f.png<br \/>\necho add copyright to f then add filename then create final file<br \/>\n convert -comment &#8216;copyright StarlightCascade Observatory &#8216; \\<br \/>\n f.png g.png<br \/>\ncp g.png annotated\/$i-annotated.png<br \/>\necho test<br \/>\nconvert g.png -gravity South  -background  lightblue -splice 0x900  -annotate +0+2  @details.txt annotated\/$i-annotated2.png<br \/>\ndone<br \/>\nrm ?.png<br \/>\nrm details.txt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is Saturn from Monday morning.. early Monday morning. The point of this post was to show the results of some troubleshooting with file and image management. Over the last few years I have used Linux Fedora server and the ImageMagick package to manipulate and annotate astro images. To date I place the Northisup icon, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-9947","post","type-post","status-publish","format-standard","hentry","category-astronomy"],"_links":{"self":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/9947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/comments?post=9947"}],"version-history":[{"count":7,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/9947\/revisions"}],"predecessor-version":[{"id":9963,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/posts\/9947\/revisions\/9963"}],"wp:attachment":[{"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/media?parent=9947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/categories?post=9947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/starlightcascade.ca\/blog\/wp-json\/wp\/v2\/tags?post=9947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}