libheif
libheif copied to clipboard
Basic reading and writing of heif files
Hi,
Trying to get some basic functionality going on for heif in --> heif out. target file gets created with small size and no image data the original heif is apple created ( grid image )
Is this type of implementation supposed to work ?
heif_context * hc = heif_context_alloc();
heif_context_read_from_file(hc,file_name.c_str(),0);
heif_context_write_to_file(hc,outfile_name.c_str());
heif_context_free(hc);
Thanks