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.
I used IrfanView to do the following:
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?