Mirage Engine
Image Splitter v4 - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24)
+----- Forum: Visual Basic 6 (https://mirage-engine.uk/forums/forumdisplay.php?fid=32)
+----- Thread: Image Splitter v4 (/showthread.php?tid=3194)



Image Splitter v4 - GIAKEN - 10-10-2009

Alright here is the Image Splitter version 4. This will convert RMXP/VX/whatever block formatted sprites into single row formatted sprites...much like v2 I suppose, except this is a bit redone. You're able to set how many sprites each sheet holds. (IE 4 by 2, 1 by 1, etc).

My next version will convert items to single column format from grid.

[ATTACHMENT NOT FOUND]


Re: Image Splitter v4 - GIAKEN - 10-10-2009

Oops...a simple logical fix:

At the bottom of Sub SplitImage change this:

Code:
TotalSpritesSaved = Val(frmMain.txtStartAt.Text)

To this:

Code:
If TotalSpritesSaved  0 Then TotalSpritesSaved = Val(frmMain.txtStartAt.Text)

So people won't have to set it themselves every time they load an image.


Re: Image Splitter v4 - GIAKEN - 10-10-2009

Agh crap another simple bug to fix...change:

Code:
SavePicture frmMain.picConversion.Image, App.Path & "\Splitted Images\sprite" & TotalSpritesSaved & Extension

To:

Code:
SavePicture frmMain.picConversion.Image, App.Path & "\Splitted Images\" & frmMain.txtSaveAs.Text & TotalSpritesSaved & Extension