MSX2 Images Converter with Processing

Page 3/4
1 | 2 | | 4

By jbikker

Resident (59)

jbikker's picture

24-10-2023, 09:03

Would it be possible to add two advanced features for screen 2/4:

1. An adaptive offset, which considers a shift of 1..X pixels to see if this results in a better match to the original;
2. Optimal use of sprites to fix the worst color clashes.

When 1 and 2 are combined the final result will be far more expensive to calculate but potentially also a lot closer to the original.

- Jacco.

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

24-10-2023, 10:04

jbikker wrote:

1. An adaptive offset, which considers a shift of 1..X pixels to see if this results in a better match to the original;

I haven't feedback from shader on conversion.
But its possible with using XOR methink, and need more code adoptions for it.

jbikker wrote:

2. Optimal use of sprites to fix the worst color clashes.

I not plane doing Sprites Engine integration here. May be its will be another future project, based on my Sprites Shader Engine, what I already done before.

By journey

Hero (594)

journey's picture

09-11-2023, 21:14

Hi,

I don't understand how to save. If I press F2 (SAVE) I get an error.

I think I need to change this string, but I can't write the correct thing

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

13-11-2023, 03:14

Hi!
Yes, you need set your output path and file name here like:
String ImgOut="DRIVE:\\DIR\\DIR\\FILENAME";
Filename without any extentions (its append automaticaly when you save images in sellected mode)

By journey

Hero (594)

journey's picture

16-11-2023, 22:26

Dolphin101546015 wrote:

Hi!
Yes, you need set your output path and file name here like:
String ImgOut="DRIVE:\\DIR\\DIR\\FILENAME";
Filename without any extentions (its append automaticaly when you save images in sellected mode)

Perfect thanx!

Will be possibile to convert on screen11 also?

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

19-11-2023, 15:06

journey wrote:

Perfect thanx!

Will be possibile to convert on screen11 also?

Not planing before, may be latter I will think about it for making with little blood Smile

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

20-11-2023, 19:08

journey wrote:

Will be possibile to convert on screen11 also?

Done, colors range selects with [TAB] in YJK mode. When saving, preview code generates with SCREEN 11 or SCREEN 12,
and preview in viewport also show in current range.

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

20-11-2023, 19:15

v3.9 in the GIT

- code refactoring
- bug fixes
- YJK mode reworks and improvements
- 2048 colors mode reworks and improvements
- Sprites generator

and more.

By Dolphin101546015

Champion (367)

Dolphin101546015's picture

20-11-2023, 20:38

Smile
Btw, all YJK images possible to show in Interlace mode with double Y-resolution, by changing set screen command in preview code with:
SCREEN mode,,,,,3

By journey

Hero (594)

journey's picture

21-11-2023, 09:35

GREAT! i'll try this evening, thanx!!!

Page 3/4
1 | 2 | | 4