The question may be more like, how do you get HTML pages to update their appearence. that however is web problem not an IM problem.
However to answer the question properly we will need to know how you are using perlmagick to generate the status. Is it creating images on the fly? if so what type of images, how are things represented. Is it using draws? Or overlaying external images?
The answer is usally obvious once you know what the program is doing.
PerlMagick for image blink
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
magick_man wrote: ... I actually haven't started using perlmagick yet; I'm trying to figure it if it can do what I need before I use it. I already have the images I want to use. All I want the script to do is to load the green image after parsing my logs if everything looks ok. If not, I want the script to load a yellow or red image (warning or error) and throw the images into a loop where they keep appearing/disappearing until the issue is fixed on the admin side (so it looks like the images are blinking.)...
You don't need to "throw the images in a loop". Just use 2-frame animated images for the red and yellow, and a static image for the green. GIF format should work.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
As you already have (or once you have them) the images you need, you do not need IM for your application. All you need is to generate the appropriate HTML selecting the right image for the status in the propriate place.
Have a look at PHP (basics). It is designed to let you just wrire normal HTML, and then imbed a little PHP code which can make the decision about which image to include in the output.
As I said before, your problem sound more like web programming than image processing.
Have a look at PHP (basics). It is designed to let you just wrire normal HTML, and then imbed a little PHP code which can make the decision about which image to include in the output.
As I said before, your problem sound more like web programming than image processing.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/