spot
spot copied to clipboard
crashed
Crashed:: Dispatch queue: com.apple.main-thread
0 converter.so 0x00000001090d0caa Javelin::PvrTcEncoder::EncodeRgba4Bpp(void_, Javelin::RgbaBitmap const&) + 186
1 converter.so 0x0000000109102ecc spot::encode_as_pvrtc(void const_, int, int, int, int, unsigned int) + 1084
2 converter.so 0x0000000109108d71 spot::internals::encode_pvr2(unsigned int, unsigned int, void const_, unsigned int) + 161
3 converter.so 0x00000001091095a1 spot::internals::encode_ccz(unsigned int, unsigned int, void const_, unsigned int) + 145
4 converter.so 0x0000000109045470 spot::rectspot::color::encode_as_ccz(unsigned int) const + 384
5 converter.so 0x000000010903f892 spot::rectspot::color::save_as_ccz(std::__1::basic_string<char, std::__1::char_traits
Assertion failed: (bitmap.GetBitmapWidth() == bitmap.GetBitmapHeight()), function EncodeRgba4Bpp, file spot.cpp, line 38053.
The current PVR encoder will only accept squared textures for now. It is a current limitation of the original encoder (https://bitbucket.org/jthlim/pvrtccompressor) that I am not 100% sure if it could be by-passed and get it to work with regular sizes.
As usual, it would be nice to have a) your source image b) the code you wrote which initiated the crash.
[malitc-1]Compressing. Output file: A.pkm/Accessibility.pkm [malitc-4]Compression time: 1076 ms [malitc-5]RMSE: 9.27583 [malitc-6]PSNR: 33.555 [malitc-7]Perceptually weighted RMSE: 8.35337 [malitc-8]Perceptual PSNR: 34.4648 [malitc-2]Compressing alpha component. Output file: A.pkm/Accessibility_alpha.pkm [malitc-4]Compression time: 219 ms [malitc-5]RMSE: 3.67554 [malitc-6]PSNR: 41.5956 [malitc-7]Perceptually weighted RMSE: 3.67554 [malitc-8]Perceptual PSNR: 41.5956
this is etcpack Accessibility.png A.pkm -c etc1 -as time cost
this is ./converter pkm Thewatchtowe.png time cost 1min
i'll take a look. thanks
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libc++.1.dylib 0x00007fff8c68b1ad std::__1::basic_streambuf<char, std::_1::char_traits
crashed with pug