Extraction of .map from displayed image
Need information as to how to get the .map information from a displayed .gif WITHOUT going to color cycling and entering <s>. If that can not be accomplished, is there any way to compare .map files to eliminate duplicates? I have a program which compares .map files and lists dups, but if the .map is cycled, then saved, and compared it doesn't list a duplicate since the first RGB entry is different due to the rotation. What I am looking for is a comparision for duplication regardless of the placement of the RGB values as long as they are in the identical sequence between .map files. I have multimap.exe, which is fine for comparision if the .map has not been cycled. I have a .gif for which I am trying to find the .map. I did, from a screen display, cycle the colors; then entered <s>, saved to an entered file name. Exited fractint, found the saved file and ran multimap.exe to find the .map in my .map directory. No duplicate found, although I know it is there. I then did a test: Took a known.map file, cycled it, saved as above and did a multimap comparision. No duplicate was found, and it is my guess that the cycling rotated the RGB order so that a linear comparision, while correct, is not accurate. Am I pissing into the wind? Or is there a solution somewhere? Any help will be greatly appreciated. Even negative responses. David M Fisher sunfish@intercom.net
David M Fisher wrote:
Need information as to how to get the .MAP information from a displayed .GIF WITHOUT going to color cycling and entering <s>.
Try using the "e" command to get into the Color Palette mode, then use the "ENTER" key to acquire the actual palette. At that point you should be able to use the "s" key to save as a .MAP file. When saved this way, there will be extra blanks (space characters) between the less than 3-digit values, so as to align columns. Some already available .MAP files (found around the Internet) only have a single space between columns.
If that can not be accomplished, is there any way to compare .MAP files to eliminate duplicates? ..... What I am looking for is a comparision for duplication regardless of the placement of the RGB values as long as they are in the identical sequence between .MAP files.
I am not aware of a utility that currently does this, but one could be written fairly quickly without much effort. It would just take a bit longer to run, so as to bump-down through all possible positions of the .MAP sequences. Sincerely, P.N.L. ------------------------------------------------- http://home.att.net/~Paul.N.Lee/PNL_Fractals.html http://www.Nahee.com/Fractals/
participants (2)
-
David M Fisher -
Paul N. Lee