Images produced are typically 0.86kB - 20 times less than the .bmp, much more web friendlier.
Edit: Now with 'dark' tinted moon option:
If there is any interest I'll neaten up and release the code
Moderator: daj
Once an hour.beteljuice wrote:However; AFAIK Cumulus attempts to redraw the current Moon state every minute,
On my sites, I use both a PHP and a JavaScript to produce and continually update the moon information (phase and image), but as you indicated, continuous (almost real time) updates are certainly not needed for most station (Web site) operators - although, as stated by Steve, a once-an-hour moon image update is more acceptable.beteljuice wrote:AFAIK Cumulus attempts to redraw the current Moon state every minute...
Haven't I covered that option ? (Green is 'page' background to prove transparency)One thing that would be nice would be a moon image produced with a transparent background...
OK, if that is what you need ... this is my Internet 'kick-in-the-posterior' action/reaction...beteljuice wrote:Any other interest ? (I need a kick-up-the-rear to clean it up)
Call me Ray or call me Raymond or call me Mr. R ... but, please, do not call me gemini or gemini06720...beteljuice wrote:(* Is that what you meant gemini ?)
I was going to suggest that if someone was writing the PHP to manipulate the bitmap produced by Cumulus, would it not be better to expend the effort in writing the code to produce an image from scratch, independent of Cumulusgemini06720 wrote:Note 2: From what I have read, it is now my understanding that you will be using the (small at 64*64 pixels) Cumulus-produced 'moon.bmp' image rather than generating your own moon image from a larger (of better definition and of better quality) image
Great minds think alike...steve wrote:I was going to suggest that if someone was writing the PHP to manipulate the bitmap produced by Cumulus, would it not be better to expend the effort in writing the code to produce an image from scratch, independent of Cumulus
Just stand on your head (ie. flip and mirror), although if one was pedantic, you should really calculate the apparent 'tilt' to the observed location - ever thought how it looks at the equator ? - waxes / wanes 'South' / 'North' !I really really like the resolution and the subdued colours of the northern hemisphere moon image I posted in a previous message - unfortunately, I could not find such a high quality image for the southern hemisphers...
And the tilt away from the equator varies with time of day - being approximately vertical when it crosses the meridian. At the equator what is the tilt when the Moon crosses the meridian? It is (approximately) overhead so the angle of tilt is meaningless!beteljuice wrote:Just stand on your head (ie. flip and mirror), although if one was pedantic, you should really calculate the apparent 'tilt' to the observed location - ever thought how it looks at the equator ? - waxes / wanes 'South' / 'North' !