Jump to content

Recommended Posts

Posted

Hello all I was wondering if any one new of a way to extract the files from a Comic Book Archive (.cbr)?

My original thought was to use 7za.exe (&-zip console app) but when I run:

7za x 1.cbr 

7-zip returns:

Processing archive: 1.cbr
Error: Can not open file as archive
 
Does anyone a suggestion or other method?
PS I am trying to make a .cbr to .pdf script
Posted (edited)

here, allow me:

http://bit.ly/R39RnQ

also:

http://bit.ly/191wLyW

also an online service: zamzar.com

Edited by orbs

Signature - my forum contributions:

  Reveal hidden contents

 

Posted

Thnx for the GREAT HELP. It was mind blowing. I mean really Kaboom, there is nothing but smoldering ash left on my shoulders.

I already knew all of that I just wanted to make my own cbr to pdf.

Posted

i'm truely glad i could help! i guess you'll just have to study the internals of the .cbr format yourself, or find a reader application that supports conversion to PDF and has an API.

b.t.w. some hints suggest that .cbr is actually a .rar format, so you can rename the extension and call the console version of WinRAR to extract the images, then automate some standard image viewer application to print the images to PDF.

ready... set... GO!  :bike:

Signature - my forum contributions:

  Reveal hidden contents

 

Posted

  On 5/20/2014 at 8:51 AM, orbs said:

b.t.w. some hints suggest that .cbr is actually a .rar format, so you can rename the extension and call the console version of WinRAR to extract the images,

Been there done that. I have a brain and am quite capable of reading the first to links on Google.

  • Moderators
Posted

libreau3,

Please lose the attitude. You made no mention of any previous knowledge in the OP so you have absolutely no right to complain when someone offers you help. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Moderators
Posted

libreau3,

Thanks. And we now return to our normal programming. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

  • Solution
Posted

@OP,

7ZA.exe is the standalone version of the 7zip download that only supports 7z, xz, ZIP, GZIP, BZIP2 and TAR formats natively.

So looking at this copied information about comic book formats from the wiki:

.cb7 → 7z

.cba → ACE

.cbr → RAR

.cbt → TAR

.cbz → ZIP

Of course 7za will fail on the cbr file you posted about.

There are dynamic link libraries (and command line binaries) available for extraction of these archive formats available on the web, should you wish to automate the process or write your own application.

There are even some pdf user defined functions and examples on this forum if you search.

Regarding extraction:

The simplest method is merely to automate command-line applications for the various formats, a good example of a tool that does this is universal extractor;

http://legroom.net/software/uniextract

Whose AutoIt sourcecode (available at the site) might assist you; should you decide upon this method for your tool.

Where you go from here is upto you.

Vlad

wtfpl-badge-1.png

Posted
  On 5/20/2014 at 8:14 AM, libreau3 said:

Does anyone a suggestion or other method?

PS I am trying to make a .cbr to .pdf script

I use the open source program named Calibre to do these tasks. It has many command line tools to handle ebook tasks such as this and is good to use with AutoIt. For conversion tasks, you can have a look here that shows many parameters available to use. If interested. Calibre has plenty of features to discover if your into the ebook stuff. Your problem could be handled perhaps in just one line of code.

Posted

  On 5/20/2014 at 12:18 PM, Mobius said:

Regarding extraction:

The simplest method is merely to automate command-line applications for the various formats, a good example of a tool that does this is universal extractor.

Mobius,

     I installed uniextract and went through the binarys. In there I found several exe that will work.

Thnx for that idea.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...