raylibtech / rtools

rtools feedback and issues
17 stars 1 forks source link

[rTexPacker] Generates Corrupt .png on command line invocation #23

Closed Huxellberger closed 2 years ago

Huxellberger commented 2 years ago

Hi Ray,

I downloaded the standalone version to use as a build step for my custom engine. When using it as a gui it works well...however when invoking from the command line it seems to produce corrupt png files for both windows and linux. This is a bit of a nuisance as that is the exact use case I wanted it for. (trawling through files and auto generating atlases for me)

this is the log from my command if that's any assistance from a simple example setup. The rtpa file appears to have been generated correctly but the png is corrupted and cannot be opened. Possibly using a command wrong!

Cheers! image

raysan5 commented 2 years ago

@Huxellberger Thanks for reporting, could you send me the images you are packing to review them? You can send them to me: ray@raylibtech.com

raysan5 commented 2 years ago

Issue reviewed and corrected.