Cut It !

What is it ?
"Cut It !" is a freeware tool to help you break a big image into smaller ones. What's handy with it is that you define your small images (I call them "cuts") once and save this configuration in a .cutit file. This way whenever you make a change to the big image, you just have to double click on the .cutit file and click the cutter button to update your cuts.

Installation
Quite easy :

  1. Create a folder named in "c:\program files" and name it "cutit".
  2. Copy cutit.exe in this folder.
  3. Execute cutit.reg to enable file associations.
If you want to install it in a different folder, modify cutit.reg to reflect your changes before executing it.

Basic usage
To create a .cutit file, follow these steps :

  1. Select 'File/new..."
  2. In the first textbox, enter the path to your big image. In the second, enter the path to the output folders (Where the cuts will be stored). Click "Ok".
  3. You now see your image in the main window. Select "Cut/Add cut". A tiny box appears in the top left corner of your image.
  4. Drag this box to the size you wish (the result will include the pixels behind the box rect) and enter the filename of your cut in the last textbox of the toolbar.
  5. Repeat the previous step for each cut you need.
  6. Save your work with "File/save" (Doh!) and...
  7. Select "Edit/Cut it !", your image has been broken up !

A few tips
Editing the .cutit by hand
Although there's a Wysiwyg interface :o) to assist you in the creation of your .cutit files, you can create them by hand. Have a look at the next section for a description of the file format.

Context menu
From your favorite file manager, right click on a .cutit and select "process" to automatically update your cuts. You can even create a shortcut for this or add it to a batch or a makefile :o), the syntax is : "cutit.exe -process the_file.cutit".

The .cutit format
Basically .cutit are .ini files. I created a specific extension to be able to define file associations. A .cutit file is made of two parts : the main section and the cut sections.

The main section
It looks like this :

[Main]
Filename=big_image_file.bmp
OutputFolder=
Pretty self explanatory I guess :o)

The cut sections
There is a section per cut. The section name follows this syntax : "CutX", where X is the number of the cut, with the first one being "Cut0". A cut section looks like this :

[Cut1]
Filename=cut_filename.bmp
PosX=0
PosY=12
SizeX=80
SizeY=48

Credits
This program uses components from the following persons :

Contact
You can contact me by mail (aurelien.gateau@mail.dotcom.fr) or visit my web site.

History
2000/02/15 - v0.1.0
First release.