libheif icon indicating copy to clipboard operation
libheif copied to clipboard

Basic reading and writing of heif files

Open elibendavid opened this issue 6 years ago • 10 comments

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

elibendavid avatar Jan 22 '19 11:01 elibendavid