Re: One more - XCC Forum | Register | Login | Search History | Home | Messages |
XCC Mixer 1.29 | Olaf van der Spek | 19:41 30-06-2004 | ||
One more | meselfs | 05:02 07-07-2004 | ||
Re: One more | Olaf van der Spek | 09:22 07-07-2004 | ||
Re: One more | meselfs | 22:52 07-07-2004 | ||
Re: One more | Olaf van der Spek | 23: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
Home | Post | Users | Messages |