This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef long jint; | |
typedef int64_t jlong; | |
typedef signed char jbyte; | |
/* | |
* JNI Types | |
*/ | |
typedef unsigned char jboolean; | |
typedef unsigned short jchar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <stdio.h> | |
void encryptData(uint8_t *flag_enc) { | |
uint8_t bVar1; | |
int64_t lVar2; | |
uint64_t *puVar3; | |
uint64_t uVar4; | |
uint8_t *pbVar5; | |
uint64_t uVar6; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import io | |
from PIL import Image | |
from ebooklib import epub | |
# defines the direcotry where the images will be read | |
img_dir = input("> images directory: ") | |
# create an EpubBook object | |
book = epub.EpubBook() |