wrote python script to convert a .heic image into .png to practise some coding
Step 1. Created the script
Step 2. Updated library to python3
Step 3. Ensured the installed Pyheif library is latest
Step 4. Upgraded Libheif to the latest version
Still the python script is not running and the issue I think is this -
'ffi.error: struct heif_decoding_options: wrong total size (cdef says 48, but C compiler says 72). fix it or use "...;" as the last field in the cdef for struct heif_decoding_options to make it flexible'
line 18 of the script (which was highlighted by VS_code) is -
'''convert_heic_to_png('/Users/jash/Desktop/to_read-learn/Nerding_out/IMG_8712.heic', '/Users/jash/Desktop/Nerding_out/IMG_8712.png')'''
it is in python. any error in this? i am trying to take GPT's help too