{"action":"created","issue":{"url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/1","labels_url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/1/comments","events_url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/1/events","html_url":"https://github.com/ARM-software/astc-encoder/issues/1","id":80480684,"number":1,"title":"cannot view the resulting image (OS X)","user":{"login":"nyotis","id":658719,"avatar_url":"https://avatars.githubusercontent.com/u/658719?v=3","gravatar_id":"","url":"https://api.github.com/users/nyotis","html_url":"https://github.com/nyotis","followers_url":"https://api.github.com/users/nyotis/followers","following_url":"https://api.github.com/users/nyotis/following{/other_user}","gists_url":"https://api.github.com/users/nyotis/gists{/gist_id}","starred_url":"https://api.github.com/users/nyotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyotis/subscriptions","organizations_url":"https://api.github.com/users/nyotis/orgs","repos_url":"https://api.github.com/users/nyotis/repos","events_url":"https://api.github.com/users/nyotis/events{/privacy}","received_events_url":"https://api.github.com/users/nyotis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-25T10:05:03Z","updated_at":"2015-05-27T15:02:50Z","closed_at":null,"body":"I am using the test mode you describe in the wiki\r\n*./astcenc -t /images/example.png /images/example-decompressed.tga 6x6 -medium\r\n(to test what compression and decompression are like),\r\nbut i cannot view the resulting image - compression/de-compression succeeds as i see from log. I am using the binary provided on OS X, tried tga/png as the resulting image"},"comment":{"url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/comments/105946054","html_url":"https://github.com/ARM-software/astc-encoder/issues/1#issuecomment-105946054","issue_url":"https://api.github.com/repos/ARM-software/astc-encoder/issues/1","id":105946054,"user":{"login":"NikunjPatel-ARM","id":10401671,"avatar_url":"https://avatars.githubusercontent.com/u/10401671?v=3","gravatar_id":"","url":"https://api.github.com/users/NikunjPatel-ARM","html_url":"https://github.com/NikunjPatel-ARM","followers_url":"https://api.github.com/users/NikunjPatel-ARM/followers","following_url":"https://api.github.com/users/NikunjPatel-ARM/following{/other_user}","gists_url":"https://api.github.com/users/NikunjPatel-ARM/gists{/gist_id}","starred_url":"https://api.github.com/users/NikunjPatel-ARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikunjPatel-ARM/subscriptions","organizations_url":"https://api.github.com/users/NikunjPatel-ARM/orgs","repos_url":"https://api.github.com/users/NikunjPatel-ARM/repos","events_url":"https://api.github.com/users/NikunjPatel-ARM/events{/privacy}","received_events_url":"https://api.github.com/users/NikunjPatel-ARM/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T15:02:49Z","updated_at":"2015-05-27T15:02:49Z","body":"Looks like astcenc is doing the correct thing here. \r\n\r\nThe ASTC encoder doesn't support writing out images as .png, or in any compressed format other than astc, so .png format. The list of supported output formats are shown when you execute astcenc without any args:\r\n\r\n>For decompression, the input file must be an ASTC compressed texture file; the following formats are supported for output:\r\n * Targa (*.tga)\r\n * KTX (*.ktx)\r\n * DDS (*.dds)\r\n * Half-Float-TGA (*.htga)\r\n * OpenEXR (*.exr; only if t'exr_to_htga' is present in the path)\r\n\r\n>Targa is suitable only for 2D LDR images; for HDR and/or 3D images, please use KTX or DDS.\r\n\r\nSo, when you pass something like the following...\r\n\r\n.\\astcenc.exe -t .\\fight.png .\\fight_compressed.png 6x6 -medium\r\n\r\n...astcenc will default to outputting htga format instead."}}