Re: One more - XCC ForumRegister | Login | Search
History | Home | Messages

XCC Mixer 1.29Olaf van der Spek19:41 30-06-2004
One moremeselfs05:02 07-07-2004
Re: One moreOlaf van der Spek09:22 07-07-2004
Re: One moremeselfs22:52 07-07-2004
Re: One moreOlaf van der Spek23:01 07-07-2004

> > I think that's doable.
> > But that still requires the same fix to the resizer, right?

> Concerning the resizer-
> I tried resizing an shp (gggap.shp specifically) to 66%, converted the resized shp to pcx, then with fix shadows enabled converted back to shp: shadow flaws all fixed.

> To automate that: Is it possible to have this same Fix Shadow logic be run after resizing?

Of course.
Added in 1.33: http://sourceforge.net/project/showfiles.php?group_id=14171
I've also added code that skips the resizer if the sizes stay at 100%, so you can use the resizer as a 'stand alone' shadow fixer too. ;->

> Or if it won't be too slow maybe you could even virtually have your resizer do SHP(TS) to PCX to SHP(TS) with Fix Shadow temporarily on?

> I wouldn't know which is easier to do, so sorry if that sounds stupid (I honestly thought that this resizer problem would be easier to fix then Ctrl+A selecting directories & "..").

;->

The Ctrl+A issue required just one extra line, fix shadows requires about five real lines:
if (GetMainFrame()->fix_shadows() && ~c_images & 1)
{
int count = cx * cy * (c_images >> 1);
for (byte* w = s + count; count--; w++)
{
if (*w)
*w = 1;
}
}

Olaf van der Spek

XCC Home Page



Home | Post | Users | Messages