The BDcraft forum has migrated.
You are currently browsing the Archived BDcraft Forum.
To post a new topic, comment or patch, let's go to the new forum: BDcraft Community Forums

Batch Resizing

3 replies [Last post]
quin2k's picture
quin2k
Offline
I like to comment everythingI love to post here
Joined: 25/03/2013

Is there a specific tool the community uses to resize textures down? I've figured out how to script with Photoshop, so now it's just a button-press.... but I still have to go and drag new files (as well as wait for them to render). With upward of 6,000 images in Big Dig, it's a daunting task.

Also, while I'm at it - are there some QA things I should be looking at when resizing? (i.e. partial transparencies)

Comments

crumbl3d's picture
crumbl3d
Offline
I am a Top ContributorI searched for an answer myselfThe Cake is a lieI explored bdcraft websiteI like to comment everythingI love to post here
Joined: 14/07/2012

Grab my actions for photoshop here. Also contains some helpful things I found useful while making tekkit lite patch. It will help you do big dig faster - a lot!

quin2k's picture
quin2k
Offline
I like to comment everythingI love to post here
Joined: 25/03/2013

Thanks! I actually found my own way to pull out all the PNGs - I extract everything just as you mentioned... but then I make sure my Recycle Bin is cleared... search *.png... and DELETE them. I then delete the root folder and RESTORE all the PNGs... and they repopulate their folders Happy

As for the rest - is there an issue with partial-transparent pixels? I'd have to say a vast majority of the sphax files I'm resizing already have partial transparencies.... not to mention those objects that truly should be transparent like colored glass.

I actually have a photoshop action script recorded that re-sizes for me, but the tedium of opening ~150 (it got mad when I tried a nice even number like 250) at a time and pressing F8 150 times, and pulling more files... started to get to me Winking

I also noticed that some of the files seemed to lose their transparency (turned black) when I open them in Photoshop... so not sure what the deal is there... I think many of them were for Forestry.

crumbl3d's picture
crumbl3d
Offline
I am a Top ContributorI searched for an answer myselfThe Cake is a lieI explored bdcraft websiteI like to comment everythingI love to post here
Joined: 14/07/2012

Minecraft automatically turns semi-transparent pixels to opaque. I think that there is a limit to how much transparency a pixel can have and then if it's below that limit it will become fully transparent. Though I could be wrong. Also cool way of getting only pngs. For the life of me I couldn't thought of that.