Mirage Source
http://www.miragesource.net/forums/

Image Splitter v4
http://www.miragesource.net/forums/viewtopic.php?f=143&t=6286
Page 1 of 1

Author:  GIAKEN [ Sat Oct 10, 2009 4:35 pm ]
Post subject:  Image Splitter v4

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:
ImgSplitterv4_Source.rar [21.28 KiB]
Downloaded 330 times

Author:  GIAKEN [ Sat Oct 10, 2009 4:48 pm ]
Post subject:  Re: Image Splitter v4

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.

Author:  GIAKEN [ Sat Oct 10, 2009 4:59 pm ]
Post subject:  Re: Image Splitter v4

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

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/