extract rar file

Hi Guys,

Is there any way to extract a rar file with corona?

For example; I have a rar file in my cloud drive and I want to download it (I can do it with network.request) and  I would like to  create  a newImageRect with a image within the rar file.

is it possible?

is there any advice?

Thanks in advance.

I don’t know that any one has done a RAR exporter. We have a plugin for .ZIP files and there was a code module floating around several years ago that would work with .tar files (Unix Tape Archive, a non-compressed way of dealing with packing multiple files in a single file. It does not have the ability to decompress the typical .gz compression. I can get the source for that if you like.

Normally you don’t get much from compressing images. They are already compressed. You get a little bit from compressing IPTC and EXIF data and color space data. But if you’re making optimized images for the web and devices all of that should be stripped out anyway. At that point .tar becomes a perfectly acceptable way to pack multiple images together… if you have control over the source file.

Rob

Hi Rob,

Thank you so much your interesting. Actually, I need a rar extractor. Therefore .tar files extractor is not necessary for me but thank you again. Right know I can extract the rar files via javascript. Maybe I can do somethings with corona’s native.newWebView() library.

Have a good days.

I don’t know that any one has done a RAR exporter. We have a plugin for .ZIP files and there was a code module floating around several years ago that would work with .tar files (Unix Tape Archive, a non-compressed way of dealing with packing multiple files in a single file. It does not have the ability to decompress the typical .gz compression. I can get the source for that if you like.

Normally you don’t get much from compressing images. They are already compressed. You get a little bit from compressing IPTC and EXIF data and color space data. But if you’re making optimized images for the web and devices all of that should be stripped out anyway. At that point .tar becomes a perfectly acceptable way to pack multiple images together… if you have control over the source file.

Rob

Hi Rob,

Thank you so much your interesting. Actually, I need a rar extractor. Therefore .tar files extractor is not necessary for me but thank you again. Right know I can extract the rar files via javascript. Maybe I can do somethings with corona’s native.newWebView() library.

Have a good days.