Moderator: CCGHQ Admins
by thefiremind » 29 Mar 2012, 09:32
by Eglin » 29 Mar 2012, 10:11
You're very welcome. You could add a call to setMaxExtents to resize the images on the fly, but I didn't think about it until afterwards. After compressing my deck box images and frame textures (they use a different compression method and alpha format than the card art), my wad is down to under 30MB in size, which is pretty cool.thefiremind wrote:Judging from what you said about image size, that's exactly my problem. In fact, I have never resized images to the standard 512x376 size. I have IrfanView, so I'll just have to check how to do batch resizing. Thanks a lot for the program and for the explanation! :D
by Eglin » 29 Mar 2012, 10:16
That's awesome! I'm thrilled to hear that you find it useful.sadlyblue wrote:I've tried your program, and worked like a charm.
It reduced the total size by at least 40% even when packed with wadprogram.
And what i tested so far there's no problem in game.
Next release will be smaller in size.
by thefiremind » 29 Mar 2012, 12:07
I used IrfanView to do the following:Eglin wrote:You're very welcome. You could add a call to setMaxExtents to resize the images on the fly, but I didn't think about it until afterwards. After compressing my deck box images and frame textures (they use a different compression method and alpha format than the card art), my wad is down to under 30MB in size, which is pretty cool.
1) Make a resize of the original pictures to 512 width.
2) Make another resize (in another folder) of the same original pictures to 376 height.
Then i kept only the largest version of each picture, so I have some pictures with exceeding width and some picture with exceeding height, but no picture smaller than 512x376. Now I need to crop the exceeding pixels, but IrfanView only allows to batch crop a set number of pixels from each side. I need to make a "center" batch crop, so that if there are 4 pixels to cut out, 2 pixels from one side and 2 pixels from the opposite side will be cut. Do you know some software I can use to achieve this result?
by thefiremind » 29 Mar 2012, 13:28
This software only resizes, while I need to crop. Thanks anyway.sadlyblue wrote:I used Fotosizer: http://www.fotosizer.com/
Seemed to do a good work, and easy.
EDIT: I thought if you need something made as you wish, you have to do it yourself... so I made a program that does the crop I needed, and ran it. Now all the images are OK. Sorry if I don't share the program, but I made it really fast so I hard-coded the directories' names as I needed them.
by Eglin » 29 Mar 2012, 14:51
by sadlyblue » 18 Apr 2012, 15:13
Enchantess Legacy (Adapted)
The Other Auramancer
Bane of Emrakul elf ball (a request from hoza121)
Modern Eminent Domain
Tree Of Life
Use Your Land
Hope you like them.
by roflheh » 18 Apr 2012, 15:23
- Posts: 2
- Joined: 31 Jan 2012, 14:37
- Has thanked: 0 time
- Been thanked: 0 time
by sadlyblue » 18 Apr 2012, 20:41
Have you tried more than once? With the same deck? And what king of game are you playing (campaign, free-for-all, archenemy)? Maybe then i can find the error.
Thanks for the feedback.
by Ctar » 19 Apr 2012, 07:09
by ravemotion » 19 Apr 2012, 16:27
by thefiremind » 20 Apr 2012, 10:03
by sadlyblue » 20 Apr 2012, 11:53
Who is online
Users browsing this forum: No registered users and 0 guests