8

I required to display the cover image from shared epub file(Like iBooks and kindle).

Suppose I shared multiple book means unzip take long time.

Is it any alternative way?

I spend more time in Google. But I can not get solution.

please give some idea with sample code.

thanks in advance.,

Senthilkumar
  • 2,471
  • 4
  • 30
  • 50

2 Answers2

5

You can unzip the file and goto OEBPS folder to look for an image file.

run this at command line

unzip abc.epub // replace the abc.epub file with your epub file path
akshay gore
  • 946
  • 8
  • 21
0

cover image will always be the first page to be displayed. So get the content of cover image from epub and try to display it

Karan Alangat
  • 2,154
  • 4
  • 25
  • 56