Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HEIC format

Status
Not open for further replies.

Nigel Gomm

Programmer
Jan 10, 2001
423
CA
Has anyone found a way of handling this image format in VFP?

I've been looking for converters and the best i can find so far is the API at for a small monthly fee.

Any other suggestions?

n
 
I'm not sure, but I understand HEIC is proprietary to Apple, which might explain why there are few free tools available for Windows. Having said that, I believe that, for Windows 10, you can download a free Codec from the Windows store. That should enable you to add HEIC support to existing graphics applications.

I also found this utility: which is free for personal use, although I don't know if you can automate it from within VFP.

Sorry I can't suggest anything else. It would be interesting to see if anyone else here has some ideas.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
You want to convert to HEIC or from HEIC?



If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike L,

i think i remember that one from my search, but yes, i need to automate from within VFP.


Mike G,
from HEIC to JPG. users are taking photos with their iPhone and uploading to my application.. so i need to convert it to jpg and display.

n
 
Nigel, again I'm not sure about this, but I think I read somewhere that when a photo in HEIC format is transferred from an Apple device to a Windows machine, it is automatically converted to a JPEG. But I guess that must depend on what software is actually used to do the transfer. I'll see if I can find some more information about that (although you probably know more about this than I do).

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
A couple of other possible approaches:

It looks like the CopyTrans utility I mentioned earlier associates itself with the HEIC file extension. In other words, if you open the HEIC file within Windows Explorer, it will automatically do the conversion (at least, that's what the docs say). That means that you will be able to do the conversion simply by doing ShellExecute() from within VFP.

Alternatively, are you familiar with AutoHotkey ( This is a scripting tool that lets you automate almost any Windows operation via a command line. You would write a script launch the conversion utility and pass it the name of the target HEIC; then run that script from VFP via the RUN command.

Mike




__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Griff,

not played with powershell before but i like the idea of that script.

Will see if i can get it working from VFP.

thanks

n

edit. perhaps not.... most likely disabled on my customers' PCs
 
Hi,
A picture in HEIC format you can open with Irfan View and save it whatever format to your liking.
Stay healty,
Koen

P.S. IrfanView is f.o.c
 
Mike L

yes.... have exactly that working now. Initially i'd been looking for an activeX but this works just fine.


thanks everyone for the input.

n
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top