apply glow effect with image that is red and green

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
monkier
Posts: 3
Joined: 2019-06-29T19:59:54-07:00
Authentication code: 1152

apply glow effect with image that is red and green

Post by monkier »

I'm trying to apply this red/green image to another image, to do a glow effect. Here is the result I'm trying to achieve (with the background as transparent):
Image

Here are the two images for compositing:
Image
Image

I've been trying for a few hours, and even tried to see if I could do it in photoshop with no success. Any help would be appreciated.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: apply glow effect with image that is red and green

Post by fmw42 »

I do not understand how you could even achieve such an effect from those images. It would appear that the second one is not to the same scale as the first one nor does it have similar colors. Also the two images do not have the same aspect ratio in order to scale the one to fit the other. Furthermore the first image is not even transparent in the seams that need to end up yellow.

Do you have a link to a reference where these images were actually used to make the desired result?
monkier
Posts: 3
Joined: 2019-06-29T19:59:54-07:00
Authentication code: 1152

Re: apply glow effect with image that is red and green

Post by monkier »

It's part of the game Merge Dragons. You may be right and what I want to do is not achievable with imagemagick, as the game has the advantage of doing all sorts of transforms with code/shaders/etc...

Here is the wiki for the images: https://mergedragons.fandom.com/wiki/Crimson_Dragons
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: apply glow effect with image that is red and green

Post by fmw42 »

I do not see the source images for that effect there?
monkier
Posts: 3
Joined: 2019-06-29T19:59:54-07:00
Authentication code: 1152

Re: apply glow effect with image that is red and green

Post by monkier »

These were decompiled from the actual game.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: apply glow effect with image that is red and green

Post by fmw42 »

Without knowing what they did, it is hard to reverse engineer a solution.
Joynal Abedin
Posts: 2
Joined: 2019-10-03T00:42:47-07:00
Authentication code: 1152

Re: apply glow effect with image that is red and green

Post by Joynal Abedin »

It seems, the picture was compiled from the game Merge Dragons! as like the game itself, now the picture has become a puzzle to us. hope your problem will e solved soon.
Post Reply