Stitching together images for the Fractal contest
Maryetta Campbell mentions two apps that don't appear to join images together horizontally and vertically as needed for the current Fractal contest: http://www.321slideshow.com/gif-joiner.htm Web page says: output format: AVI http://www.amath.washington.edu/~jsk/giffo.html Web page says: produce an animation What's needed is software for "putting together multiple raster images (stitching)." Fractint can create ultra large images in at least two ways. Fractint for Windows beta 5 --------------------------- One of the default output sizes for images in Fractint for Windows beta 5 (*not* WinFract) is 8192 x 8192. I have successfully created images of that size. It can likely create even larger sizes without problems, since it uses Windows-style memory management. Use its configuration file to specify the desired image resolution of a new "Disk Video" mode. A description of the Fractint for Windows beta and the program are available here: http://legalizeadulthood.wordpress.com/2007/04/13/fractint-for-windows-beta- 5/#more-7 or, if the above URL gets cut into pieces: http://tinyurl.com/n4ynl5 A couple of the comments posted on the above web page say that the program is faster than the DOS version running under Windows. That said, remember that it is a beta. There are a number of comments and responses about the beta version to and from the author of Fractint for Windows on the Fractint Developer's List: http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractdev or http://tinyurl.com/lf9sgk Fractint for DOS "X and Y Multiples" ------------------------------------ The Fractint 20.0 for DOS docs say this about the stitching capabilities of the program when using the "b" command: ======================================================================== "X Multiples - How many divisions of final image in the x direction Y Multiples - How many divisions of final image in the y direction Video mode - Fractint video mode for each piece (e.g. "F3") The last item defaults to the current video mode. If either X Multiples or Y Multiples are greater than 1, then multiple numbered PAR entries for the pieces are added to the PAR file, and a MAKEMIG.BAT file is created that builds all of the component pieces and then stitches them together into a "multi-image" GIF. The current limitations of the "divide and conquer" algorithm are 36 or fewer X and Y multiples (so you are limited to "only" 36x36=1296 component images), and a final resolution limit in both the X and Y directions of 65,535 (a limitation of "only" four billion pixels or so). The final image generated by MAKEMIG is a "multi-image" GIF file called FRACTMIG.GIF. In case you have other software that can't handle multi-image GIF files, MAKEMIG includes a final (but commented out) call to SIMPLGIF, a companion program that reads a GIF file that may contain little tricks like multiple images and creates a simple GIF from it. Fair warning: SIMPLGIF needs room to build a composite image while it works, and it does that using a temporary disk file equal to the size of the final image - and a 64Kx64K GIF image requires a 4GB temporary disk file! This is how a particular "named group of parameters" in a .PAR file is invoked as is used in the file MAKEFIG.BAT: @FILENAME Causes Fractint to read "filename" for parameters. When it finishes, it resumes reading its own command line -- i.e., "FRACTINT MAXITER=250 @MYFILE PASSES=1" is legal. This option is only valid on the DOS command line, as Fractint is not clever enough to deal with multiple indirection. @FILENAME/GROUPNAME Like @FILENAME, but reads a named group of parameters from a parameter file." ======================================================================== I used the "b" command in Fractint and specified 3 'X' multiples and 2 'Y' multiples. I did this just after running Jim Muth's Fractal of the Day for Aug 3, 2009 by creating a file named: F090803.PAR and invoking it inside Fractint by using the key sequence: "@", "F6". F090803.PAR contained his image's parameter spec and the formula needed for the image. The "b" command created the file MAKEMIG.BAT and added six parameter 'sets' (image creation specs) (named groups of parameters) to the bottom of my existing F090803.PAR and named them: The_Worm_Turns3X2_00 The_Worm_Turns3X2_01 The_Worm_Turns3X2_10 . . . The_Worm_Turns3X2_21 (See the portion of the file F090803.PAR I put below.) ------------------------------------------------------------- It appears that Fractint does the heavy lifting when it executes the "b" command. It: - Creates the MAKEMIG.BAT file - Adds six parameter 'sets' to the existing .PAR file And when the MAKEMIG.BAT file is run in a DOS command window: - The pieces of the image are created (you see Fractint open and run) - Six temporary files named: frmig_00.gif, frmig_01.gif, etc. are written and eventually deleted. - Fractint stitches the six images together when the following command is executed in the .BAT file: FRACTINT MAKEMIG=3/2 (It writes out an image file named: FRACTMIG.GIF.) - I manually entered the following command in a command window: SIMPLGIF FRACTMIG.GIF SIMPLGIF.GIF to create the final output SIMPLGIF.GIF file. (SIMPLGIF.EXE is provided with the Fractint 20.0 distribution.) Alternatively, you could remove the "Rem " and "in case you need it" from the line provided in the MAKEMIG.BAT file. ------------------------------------------------------------- MAKEMIG.BAT: Note: "MIG" in MAKEMIG stands for "Multi-Image Gif." Fractint created this MAKEMIG.BAT file: ======================================= Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_00 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_01 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_10 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_11 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_20 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @C:\Program Files\_ Graphics\Fractint for Windows\pars\F090803.PAR/The_Worm_Turns3x2_21 If Errorlevel 2 goto oops Fractint makemig=3/2 Rem Simplgif fractmig.gif simplgif.gif in case you need it :oops I modified my MAKEMIG.BAT file as follows: (Note that the "3x2" has been deleted. I comment on this later.) Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_00 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_01 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_10 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_11 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_20 If Errorlevel 2 goto oops Fractint batch=yes overwrite=yes @F090803.PAR/The_Worm_Turns_21 If Errorlevel 2 goto oops Fractint makemig=3/2 Rem Simplgif fractmig.gif simplgif.gif in case you need it :oops F090803.PAR (excerpt) ===================== . . . frm:DivideJulibrot {; draws 4-D slices of DivideBrot Julibrots pix=pixel, u=real(pix), v=imag(pix), a=pi*real(p1*0.0055555555555556), b=pi*imag(p1*0.0055555555555556), g=pi*real(p2*0.0055555555555556), d=pi*imag(p2*0.0055555555555556), ca=cos(a), cb=cos(b), sb=sin(b), cg=cos(g), sg=sin(g), cd=cos(d), sd=sin(d), aa=-(real(p5)-2), bb=(imag(p5)+0.00000000000000000000001), p=u*cg*cd-v*(ca*sb*sg*cd+ca*cb*sd), q=u*cg*sd+v*(ca*cb*cd-ca*sb*sg*sd), r=u*sg+v*ca*sb*cg, s=v*sin(a), c=p+flip(q)+p3, z=r+flip(s)+p4: z=sqr(z)/(z^(aa)+bb)+c |z| < 1000000 } The_Worm_Turns_00{ ; Hal Lane Aug 06, 2009 time=0:00:22 ; F090803.PAR is Jim Muth's orig file. ; 3 'X' multiples ; 2 'Y' multiples Video = F5 (640x480) ; Fractint Version 2099 Patchlevel 8 reset=2099 type=formula formulafile=F090803.PAR formulaname=dividejulibrot center-mag=4.57011/0.278067/3.603758/1.5 params=89.980000000000004/0/89.980000000000004/0/-0.770\ 00000000000002/0/0/0/1.05/1.5 float=y maxiter=600 inside=0 logmap=25 periodicity=10 sound=off colors=000I6I<6>PKP<4>UUU<3>mmmzzzzzzzzzmmmmmmcccUUUPRo\ MDUBIB<2>ZG8c32<2>hNAmR0kS6iTCkQ9mNC<3>mZOmaRrdUre_rgbq\ ddpb`q`YrYUtWQwUNzRL<3>zFDzDBzHPzLazOnzHZzAKzF5zF8<3>za\ HzgKzmMzmOzmZzmZzmd<2>zmXzhLzcKzZKzeK<2>zZH<3>zhgzjnzlt\ <3>zRhzLezGbzB`zNkzYvzWizVYzMOzDFvPIr_KmVRZQYcLd<3>KUoM\ Wl<3>QEQK9UO5YS1bb0fl0z<3>NlzrzzjwzeszUqzPmzQkzN`zKRzHG\ uF6pJ9kNCk<2>XJz2oz9izFczFpz<3>FTzFOzJSz<3>WczZfzWez<3>\ ObzLdzJez5sz<3>TUzZNzcHz<3>SPzhaz<3>JOzDKz1Bz<3>PWzVaz`\ fzfkzf8zkpz<4>SkzOjzHlz<3>RdzTbzW`zYZzScz_Xz<3>RnzOMz<2\
OUzJ1z<3>PezKyz<3>WfzZbzaYzYYz<2>dUztRz<3>aUzXVzTVzOWz\ 70z<3>OfzsBzUvzSpzQjzhqzWhz<2>BZz0_z video=F5 savename=frmig_00 }
The_Worm_Turns_01{ ; Hal Lane Aug 06, 2009 time=0:00:22 ; F090803.PAR is Jim Muth's orig file. ; 3 'X' multiples ; 2 'Y' multiples Video = F5 (640x480) ; Fractint Version 2099 Patchlevel 8 reset=2099 type=formula formulafile=F090803.PAR formulaname=dividejulibrot center-mag=4.57011/-0.278067/3.603758/1.5 params=89.980000000000004/0/89.980000000000004/0/-0.770\ 00000000000002/0/0/0/1.05/1.5 float=y maxiter=600 inside=0 logmap=25 periodicity=10 sound=off colors=000I6I<6>PKP<4>UUU<3>mmmzzzzzzzzzmmmmmmcccUUUPRo\ MDUBIB<2>ZG8c32<2>hNAmR0kS6iTCkQ9mNC<3>mZOmaRrdUre_rgbq\ ddpb`q`YrYUtWQwUNzRL<3>zFDzDBzHPzLazOnzHZzAKzF5zF8<3>za\ HzgKzmMzmOzmZzmZzmd<2>zmXzhLzcKzZKzeK<2>zZH<3>zhgzjnzlt\ <3>zRhzLezGbzB`zNkzYvzWizVYzMOzDFvPIr_KmVRZQYcLd<3>KUoM\ Wl<3>QEQK9UO5YS1bb0fl0z<3>NlzrzzjwzeszUqzPmzQkzN`zKRzHG\ uF6pJ9kNCk<2>XJz2oz9izFczFpz<3>FTzFOzJSz<3>WczZfzWez<3>\ ObzLdzJez5sz<3>TUzZNzcHz<3>SPzhaz<3>JOzDKz1Bz<3>PWzVaz`\ fzfkzf8zkpz<4>SkzOjzHlz<3>RdzTbzW`zYZzScz_Xz<3>RnzOMz<2\
OUzJ1z<3>PezKyz<3>WfzZbzaYzYYz<2>dUztRz<3>aUzXVzTVzOWz\ 70z<3>OfzsBzUvzSpzQjzhqzWhz<2>BZz0_z video=F5 savename=frmig_01 } The_Worm_Turns_10{ ... } The_Worm_Turns_11{ ... } The_Worm_Turns_20{ ... } The_Worm_Turns_21{ ... }
When I ran the MAKEMIG.BAT file in a DOS command window and Fractint had problems, Fractint wrote the file STOPMSG.TXT with error messages in it. Fractint was kind enough to *append* errors from additional execution attempts to the *end* of STOPMSG.TXT Note that I chose to have three F5 (640 x 480) images in the X direction and only two in the Y direction. This stretched the aspect ratio of my final image in X. For the final image to have the same aspect ratio as the original video mode specified when you issue the "b" command, use the same number of images in both the X and Y directions. Note that the six named groups of parameters *names* were too long after the "_00", "_01", etc. were appended: The_Worm_Turns3X2_10{ ... } It looks like a length of about 18 characters is Fractint's limit, so the original base name of the image needs to be a max of 15 chars: The_Worm_Turns{ ... } then gets modified to: The_Worm_Turns_10{ ... } Then everything works correctly. Fractint opens and runs seven times. You see the six sub-images being created and then Fractint inserts them into a single file. I ran the program SIMPLGIF.EXE on this single file to create the final image. I happened to use the "Multiple-Image Gif" feature of Fractint for Windows beta 5 to create my stitched-together image. The DOS 20.0 version has this same capability. - Hal Lane ######################### # hallane@earthlink.net <mailto:hallane@earthlink.net> # #########################
Hal Lane wrote:
Maryetta Campbell mentions two apps that don't appear to join images together horizontally and vertically as needed for the current Fractal contest: http://www.321slideshow.com/gif-joiner.htm Web page says: output format: AVI http://www.amath.washington.edu/~jsk/giffo.html Web page says: produce an animation
What's needed is software for "putting together multiple raster images (stitching)."
Fractint can create ultra large images in at least two ways.
Fractint for Windows beta 5 --------------------------- One of the default output sizes for images in Fractint for Windows beta 5 (*not* WinFract) is 8192 x 8192. I have successfully created images of that size. It can likely create even larger sizes without problems, since it uses Windows-style memory management. Use its configuration file to specify the desired image resolution of a new "Disk Video" mode.
A description of the Fractint for Windows beta and the program are available here: http://legalizeadulthood.wordpress.com/2007/04/13/fractint-for-windows-beta- 5/#more-7 or, if the above URL gets cut into pieces: http://tinyurl.com/n4ynl5
(----.) ******************* Thanks Hal for that very detailed explanation!! Cheers, Guy ##################################################################################### Scanned by MailMarshal - Marshal's comprehensive email content security solution. #####################################################################################
Hal Lane wrote:
One of the default output sizes for images in Fractint for Windows beta 5 (*not* WinFract) is 8192 x 8192. I have successfully created images of that size. It can likely create even larger sizes without problems, since it uses Windows-style memory management.
I wouldn't consider that a reason to think it can create larger sizes without problems. I have a Windows XP machine at the office, 2GB of memory, yet Internet Explorer (which is a part of Windows that has been around a long while and fairly well-shaken down) starts to act weird and freeze when its memory consumption reaches 600+MB ... I'd rather Fractint was using *nix-style memory management. ;-) -- David gnome@hawaii.rr.com authenticity, honesty, community
----- David said: --------
I'd rather Fractint was using *nix-style memory management. ;-) Supposedly you can tell Fractint to do this. The docs say:
"If you are running background disk-video fractals under Windows 3, and you don't have a lot of real memory (over 2Mb), you might find it best to force Fractint to use real disk for disk-video modes. (Force this by using a .pif file with extended memory and expanded memory set to zero.) Try this if your disk goes crazy when generating background images, which are supposedly using extended or expanded memory. This problem can occur because, to multi-task, sometimes Windows must page an application's expanded or extended memory to disk, in big chunks. Fractint's own cached disk access may be faster in such cases." I haven't tried this in Win XP. (Actually, see my next email where I describe creating a 12,000 x 12,000 pixel Disk Video image. Fractint chose to use my hard disk without my specifying this.) On the Memory tab of the Property sheet of Fractint's PIF file in Win XP there are settings for extended and expanded memory. I see that they can be set to "None" instead of the default "Auto." A Program Information Files (PIF) file is automatically created when a DOS program is run the first time. On my Win XP system Fractint's PIF file is named "Shortcut to FRACTINT.EXE". A PIF file's "Type" is shown in the "Details" format of the File Explorer's file list as: "Shortcut to MS-DOS Program." To access the "Memory" Property sheet right click the PIF file, choose Properties and click the Memory tab. The docs warn that certain fractal's algorithms (Lorenz and "IFS") place pixels into widely separated locations in the output image. If you use Disk Video with these fractals they say that this may stress your hard disk with the unusual write pattern because of the more frequent than normal head motion. If Fractint will be using your hard disk the Fractint 20.0 docs say: "Currently Fractint gives you a warning message but lets you proceed. You can end the calculation with <Esc> if you think your hard disk is getting too strenuous a workout." However, I don't remember getting a warning. Here is some further info from the docs about which Fractal types can reduce the efficiency of the 'Disk' Video scheme: "While you are using a disk-video mode, your screen will display text information indicating whether memory or your disk drive is being used, and what portion of the "screen" is being read from or written to. A "Cache size" figure is also displayed. 64K is the maximum cache size. If you see a number less than this, it means that you don't have a lot of memory free, and that performance will be less than optimum. With a very low cache size such as 4 or 6k, performance gets considerably worse in cases using solid guessing, boundary tracing, plasma, or anything else which paints the screen non-linearly." David, if you do try this, (setting Fractint's PIF file to have extended memory and expanded memory set to "None" while creating a 'Disk' Video image to force using your hard disk) please post your results on this list serve. Thanks, Hal Lane ######################### # hallane@earthlink.net <mailto:hallane@earthlink.net> # #########################
-----Original Message----- From: fractint-bounces@mailman.xmission.com [mailto:fractint-bounces@mailman.xmission.com]On Behalf Of david Sent: Friday, August 07, 2009 5:04 AM To: Fractint and General Fractals Discussion Subject: Re: [Fractint] Stitching together images for the Fractal contest
Hal Lane wrote:
One of the default output sizes for images in Fractint for Windows beta 5 (*not* WinFract) is 8192 x 8192. I have successfully created images of that size. It can likely create even larger sizes without problems, since it uses Windows-style memory management.
I wouldn't consider that a reason to think it can create larger sizes without problems. I have a Windows XP machine at the office, 2GB of memory, yet Internet Explorer (which is a part of Windows that has been around a long while and fairly well-shaken down) starts to act weird and freeze when its memory consumption reaches 600+MB ...
I'd rather Fractint was using *nix-style memory management. ;-)
-- David gnome@hawaii.rr.com authenticity, honesty, community
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint
Hal Lane wrote:
----- David said: --------
I'd rather Fractint was using *nix-style memory management. ;-) Supposedly you can tell Fractint to do this. The docs say:
Thanks for the DOS/Windows specific advice. I've used it years ago, but haven't been running any version of Windows here for over six years. And I actually quit trying to run DOS Fractint under Windows well before that, when it would freeze Windows in a terminal fight over the graphic hardware. xFractint doesn't have DOS or Windows memory limitations. *nix uses 32/64-bit memory, not the Real/Extended memory architecture DOS/Windows9x used and DOS Fractint was written to support. -- David gnome@hawaii.rr.com authenticity, honesty, community
participants (3)
-
david -
Guy Marson -
Hal Lane