ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
jof_worker_main.c
Go to the documentation of this file.
1
14
15#include "jof_worker.h"
16
24int main(int argc, char** argv)
25{
26 if (argc != 3) {
27 return (int)k_jof_worker_usage;
28 }
29 return (int)jof_worker_convert(argv[1], argv[2]);
30}
Single-image to JOF worker: the per-page transcode the cbz2jof Go driver shells out to.
@ k_jof_worker_usage
Wrong argument count or null path.
Definition jof_worker.h:35
jof_worker_result_t jof_worker_convert(const char *in_path, const char *out_path)
Transcode one encoded image file into one JOF atlas file.
Definition jof_worker.c:410
int main(int argc, char **argv)
Convert one image file into one JOF atlas file.