goxel icon indicating copy to clipboard operation
goxel copied to clipboard

Allow reordering PNG slice dimensions

Open xingyzt opened this issue 3 years ago • 1 comments

Currently, the PNG Slices export slices along the Z axis and lays the planes down along the X axis. This may create slices that are undesirably large in the X axis if the scene has a high X:Y aspect ratio. I'm not very familiar with C, especially making interfaces with it, but I have made a simple edit that lets one change the axes with two numerical inputs of the range 0-2.

Prototype GUI image

Z slicing axis, X laying axis: the default, which may be too long for image editors like ImageMagick who has a 10k limit per dimension. xyz

Z slicing axis, Y laying axis: done by setting the laying axis to 1 (Y) instead of 0 (X): yxz

xingyzt avatar Jan 29 '22 07:01 xingyzt

Hello FlyOrBoom. Before I check the PR, can you make a new PR that adds yourself to the list of CLA, as explained here: https://github.com/guillaumechereau/goxel/blob/master/CONTRIBUTING.md

I need that to keep the right to license goxel for iOS.

guillaumechereau avatar Aug 13 '22 10:08 guillaumechereau