Autor
| A little contribution to the scene...IMG-2-MSX...
|
RyJuZo msx freak Posts: 135 | Postado em: 25 Setembro 2008, 20:36   |
Hi all..
I saw couple of posts of people struggeling to convert pictures to screen 1/2/3 ....so here you are....IMG-2-MSX
features:
- converts all known images.
- batch converting
- down-scaling (256x192 or 256x256)
- exporting to bload readable files(+little slideshow generator basic-file generated for your viewing pleasure) Slideshow works only for images with a size of 256x192 (or scaled down to it) ofcourse. For larger images you'll have to write something in asm to manage it.
- preview of converted images
I developed it in exactly 2 HOURS !! But that's mainly because the thinking was already done by Rafael Jannone (with his Floyd-Steinberg implementation). I just optimized it for speed ....
It still needs some testing...so go right ahead:
msxsite.ryan-da-bass-man.com/img2msx.zip
still todo:
- add conversion to SC5
- using different palettes (also for SC5)
- and whatever you can think of that might be usefull...(or at least I think is..  )
- oh yeah write a manual  ....any volunteers ?????
|
|
Maggoo msx professional Posts: 590 | Postado em: 25 Setembro 2008, 20:52   |
Quote:
| oh yeah write a manual  ....any volunteers ?????
|
Bah... User guides are for sissies
BTW, really nice and usefull tool ! |
|
[D-Tail]
 msx guru Posts: 3019 | Postado em: 26 Setembro 2008, 00:35   |
RyJuZo, did you look into ViewMSX to cross-examine it for known formats?  Just getting after the remark you made about 'all known formats', har har.
Anyway, I suppose it's a great tool. I don't do windows, so in all fairness, I haven't had a look. Great effort anyway  |
|
ARTRAG msx master Posts: 1737 | Postado em: 26 Setembro 2008, 00:47   |
RyJuZo, have a look to my C code here at MRC
I'm sure you cannot optimize it more than that
(I mean the actual encoding, outside the core
algorithm you prolly will have more elegant solutions)
The source comes in two verision, with traditional
Euclidean metric and with perceptually uniform error
metric for optimal color quantization.
http://ragozini.googlepages.com/dithering
|
|
ro msx guru Posts: 2346 | Postado em: 26 Setembro 2008, 07:59   |
cool stuff.
saving a converted img didn't go so well  (some error)
oh well  |
|
RyJuZo msx freak Posts: 135 | Postado em: 26 Setembro 2008, 10:06   |
Quote:
| cool stuff.
saving a converted img didn't go so well  (some error)
oh well 
|
send me a printscreen of the error if you will ... |
|
RyJuZo msx freak Posts: 135 | Postado em: 26 Setembro 2008, 10:07   |
Quote:
| RyJuZo, have a look to my C code here at MRC
I'm sure you cannot optimize it more than that
(I mean the actual encoding, outside the core
algorithm you prolly will have more elegant solutions)
The source comes in two verision, with traditional
Euclidean metric and with perceptually uniform error
metric for optimal color quantization.
http://ragozini.googlepages.com/dithering
|
yeah thnx I will have look... |
|
ro msx guru Posts: 2346 | Postado em: 26 Setembro 2008, 10:10   |
here ya go
EurekaLog 5.1
Application:
-------------------------------------------------------
1.1 Start Date : Fri, 26 Sep 2008 10:10:03 +0200
1.2 Name/Description: Img2Msx.exe
1.3 Version Number : 1.0.0.0
1.4 Parameters :
1.5 Compilation Date: Thu, 25 Sep 2008 19:40:43 +0200
Exception:
----------------------------------------------
2.1 Date : Fri, 26 Sep 2008 10:10:25 +0200
2.2 Address: 0053EE88
2.3 Module : Img2Msx.exe
2.4 Type : EInOutError
2.5 Message: I/O error 123.
Active Controls:
---------------------------------------
3.1 Form Class : TfrmMain
3.2 Form Text : RyJuZo's IMG-2-MSX
3.3 Control Class: TTeButton
3.4 Control Text : To SC2 >>
Computer:
-------------------------------------------------------
4.3 Total Memory : 2046 Mb
4.4 Free Memory : 1107 Mb
4.5 Total Disk : 54.97 Gb
4.6 Free Disk : 18.22 Gb
4.7 System Up Time: 3 days, 4 minutes, 57 seconds
4.8 Processor : Intel(R) Pentium(R) 4 CPU 3.20GHz
4.9 Display Mode : 1280 x 1024, 32 bit
Operating System:
--------------------------------------
5.1 Type : Microsoft Windows XP
5.2 Build # : 2600
5.3 Update : Service Pack 3, v.3264
5.4 Language: English
Registers:
-----------------------------
EAX: 00000000 EDI: 00000000
EBX: 00000000 ESI: 00000000
ECX: 00000000 ESP: 00000000
EDX: 00000000 EIP: 00000000
Stack: Memory Dump:
------------------ ---------------------------------------------------------------------------
0012F37C: 0045589B 0053EE88: E8 27 3E EC FF 8D 93 9C 02 00 00 33 C0 E8 C6 3E .'>........3...>
0012F380: 00400000 0053EE98: EC FF 8B C3 8B 10 FF 92 0C 01 00 00 8B C3 8B 10 ................
0012F384: 00000000 0053EEA8: FF 92 04 01 00 00 5E 5B C3 8D 40 00 55 8B EC 6A ......^[..@.U..j
0012F388: 00496409 0053EEB8: 00 53 8B D8 33 C0 55 68 03 EF 53 00 64 FF 30 64 .S..3.Uh..S.d.0d
0012F38C: 0012FE20 0053EEC8: 89 20 8B C3 8B 10 FF 92 CC 00 00 00 8B D0 8D 4D . .............M
0012F390: 00496418 0053EED8: FC 8B C3 E8 50 07 00 00 8B 55 FC 8B C3 8B 08 FF ....P....U......
0012F394: 00000000 0053EEE8: 91 00 01 00 00 33 C0 5A 59 59 64 89 10 68 0A EF .....3.ZYYd..h..
0012F398: 0053EE8D 0053EEF8: 53 00 8D 45 FC E8 72 61 EC FF C3 E9 C4 59 EC FF S..E..ra.....Y..
0012F39C: 00EC8850 0053EF08: EB F0 5B 59 5D C3 8B C0 53 56 8B F1 8B DA 80 B8 ..[Y]...SV......
0012F3A0: 0012F4A0 0053EF18: 8D 02 00 00 00 75 09 80 B8 8E 02 00 00 00 74 0C .....u........t.
0012F3A4: 0012F3CC 0053EF28: 8B C6 8B D3 E8 97 61 EC FF 5E 5B C3 8B D6 8B C3 ......a..^[.....
0012F3A8: 0012F3D8 0053EF38: E8 3F AC EC FF 5E 5B C3 80 B8 8E 02 00 00 00 74 .?...^[........t
0012F3AC: 00000000 0053EF48: 0A 8B C2 8B D1 E8 5E AC EC FF C3 8B C2 8B D1 E8 ......^.........
0012F3B0: 00000000 0053EF58: 34 00 ED FF C3 8D 40 00 55 8B EC 81 C4 A0 FE FF 4.....@.U.......
0012F3B4: 00000000 0053EF68: FF 53 56 33 DB 89 9D A0 FE FF FF 8B D9 8B F2 8D .SV3............
0012F3B8: 7C9032A8 0053EF78: 85 A4 FE FF FF 8B 15 E4 8C 40 00 E8 B4 6D EC FF .........@...m..
|
|
|
|
|