sega16 wrote:Goto tilemap actions->Dither tilemap as image
Then pick how you want the tilemap dithered.
So it was me. Thanks.
Ti_ wrote:I've tried to download activeperl, strawberry perl, imagemagick plugin, tried to reinstall image magick with 2 options: install enviroment and install for active perl. Tried to use some scripts that written in readme.
It's wont work in anyway. Can't found damn dlls.
I tried to use the script under Windows. I ran into the problem that you described but I found a way to solve it. I did that under Windows XP, I hope it can work for you also.
- Uninstall Perl & ImageMagick (may not be necessary but it's what I did).
- Install Strawberry Perl 220.127.116.11
- Run the command line interface (cmd).
- Type cpan
(it should give you a shell).
- Type install Algorithm::Cluster
(it will download and compile the module, it may download a C compiler and dmake if needed).
- You can close the command line interface.
- Download ImageMagick and run the installer.
- The installer will ask you to select/unselect a few options. Check "Add application directory to the system path" and "Install developpement headers and librairies for C and C++". Do not
check "Install PerlMagick for ActiveState".
- Complete the installation.
- Download PerlMagick here: http://search.cpan.org/CPAN/authors/id/ ... .86.tar.gz
- Uncompress the archive.
- Run a command line interface (cmd).
- Change directory to the folder you got from uncompressing the PerlMagick archive.
- Type "perl Makefile.PL". It may complain about "No library found for -lMagickCore-Q16"
- Edit the file named Makefile
(in the same directory).
- Inside this file, find a line that begins with "LDLOADLIBS = ....."
- At the end of this line, add a space, then add -lCORE_RL_Magick_
- Save the file.
- In the command line interface, in the directory where the Makefile is, type dmake
and then dmake install
- You're done.
A bug in PerlMagick prevents you from installing the module by typing "install Image::Magick" under the cpan shell. Without this bug, it would that easy.
Re-download my script (that has been modified to run under Windows). You should be able to use it.
r57shell wrote:Lines 295,296: you first make remap, then quantize, why not in reverse order?
I tried different things and doing things this way gave better results.
r57shell wrote:I will try to modify your script, and do some experiments.
I encourage you to do so. It can certainly be improved.
r57shell wrote:Try my modification of scolorq
I'll take a look at it.
r57shell wrote:EDIT 2: Compiled by "hands" Algorithm-Cluster from sources.
To install any Perl module that is on CPAN, just run "cpan" and "install Module::Name". It works with both Activestate and Strawberry Perl.
r57shell wrote:Script tested, throws exception at line 61, fixed
Too bad I didn't saw this earlier, it would have save me some time :-).