Curious.

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-03-05T21:49:56-07:00

yes that can be done. The problem is finding the right 'sparkle' overlay.

I looked at the given image and it is so optimized, it is basically imposible to extract the sparkles from this image.


PS: I am playin around with a sparkle 'star' generator. My experiments can be seen at...
Tilable Stars and Comets "My God! Its full of stars!"
http://www.cit.gu.edu.au/~anthony/graph ... ced/#stars

I would like to create 'auto add star highlight' script, which could just as easilly become as 'auto add star highlight animation!'

If you like to play with this and animations, be my guest, but please contribute the results back for others (including me) to also benifit.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-03-06T20:50:58-07:00

Basically as no-one has submitted an example, all we can give is some clues.

Hmmm... take the randome star field generator.. and create three greyscale images the same size as your original...
Script http://www.cit.gu.edu.au/~anthony/graph ... star_field

Code: Select all

   star_field 70x46  stars1.png
   star_field 70x46  stars2.png
   star_field 70x46  stars3.png
Now overlay that onto our image (the built in rose in this case) using screen
os it only brightens the image... and output a GIF with the right delay.

Code: Select all

   convert rose: -compose Screen \
              \( -clone 0 stars1.png -composite \) \
              \( -clone 0 stars2.png -composite \) \
              \( -clone 0 stars3.png -composite \) \
              -delete 0 -set delay 20  rose_sparkle.gif
Image

There. Now I'll save this as a simple animation example (using advanced IM features) on http://www.cit.gu.edu.au/~anthony/graph ... #animation

Amazing what you can do when you know all the IM examples. I myself am still learning all the IM features as I generate exampes though my studies.

Enjoy ;-)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony » 2006-03-06T21:08:12-07:00

That first link is to a UNIX shell script program.

This program essentually creates star fields as per the link I gave in a previous response.

Basically I use that program to generate 'sparkles' which I then use to create three 'sparkling rose' images. Those are then turned into an animation.

I suggest you go to the IM example web site, and try the examples I have given there and try to understand.

IM can not do everything directly. But it provides the tools to allow you to create just about any image processing tool you like.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Post Reply