Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert]
- "MUIVerb"="Convert"
- "SubCommands"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles]
- "MUIVerb"="HEIC to JPG (Keep Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles]
- "MUIVerb"="HEIC to JPG (Remove Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\" & del ^\"%L^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert]
- "MUIVerb"="Convert"
- "SubCommands"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles]
- "MUIVerb"="HEIC to JPG (Keep Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles]
- "MUIVerb"="HEIC to JPG (Remove Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\" & del ^\"%L^\"\""
Advertisement
Comments
-
- I'm having trouble with this, any chance you can help? I have ImageMagick installed and added to the path, tested and that works. I've created a .reg file from this, added it to the registry and rebooted. When I right click on a HEIC file and select Convert > HEIC to JPG (keep original) it flashes a command prompt then does nothing. When I try the other one to remove the original it does delete the file but it doesn't create the JPG either. Any ideas on troubleshooting that?
-
- Can you export the branches
- HKEY_CLASSES_ROOT\SystemFileAssociations\.heif
- and
- HKEY_CLASSES_ROOT\SystemFileAssociations\.heic
- and share?
- Which version of ImageMagick and Windows? From your description, it seems like magick isn't happening :-) ...as in the magick conversion commands aren't working. For troubleshooting purposes, in the registry entries where magick is called with "cmd.exe /c" you could try temporarily changing it to "cmd.exe /k" instead. This would keep the command window open, and might help with troubleshooting if there is a magick error.
-
- One way to determine the installed ImageMagick version, from a command prompt:
- magick --version
- And Windows version info at least for modern Windows, from PowerShell:
- Get-WMIObject Win32_OperatingSystem | Select-Object Caption,Version,OSArchitecture
-
Comment was deleted
-
- Thanks for getting back to me. Let's see.
- magick --version
- Version: ImageMagick 7.1.0-62 Q16-HDRI x64 32ce406:20230212
- Windows 11 21H2
- And here are the two registry keys (two posts due to 1KB post size limit)
- ----------------
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif]
- "ExtendedTileInfo"="prop:System.ItemType;System.Photo.DateTaken;*System.Image.Dimensions"
- "FullDetails"="prop:System.PropGroup.Description;System.Rating;System.Comment;System.PropGroup.Origin;System.Photo.DateTaken;System.ApplicationName;System.DateAcquired;System.Copyright;System.PropGroup.Image;System.Image.ImageID;System.Image.Dimensions;System.Image.HorizontalSize;System.Image.VerticalSize;System.Image.HorizontalResolution;System.Image.VerticalResolution;System.Image.BitDepth;System.Image.Compression;System.Image.ResolutionUnit;System.Image.ColorSpace;System.Image.CompressedBitsPerPixel;System.PropGroup.Camera;System.Photo.CameraManufacturer;System.Photo.CameraModel;System.Photo.FNumber;System.Photo.ExposureTime;System.Photo.ISOSpeed;System.Photo.ExposureBias;System.Photo.FocalLength;System.Photo.MaxAperture;System.Photo.MeteringMode;System.Photo.SubjectDistance;System.Photo.Flash;System.Photo.FlashEnergy;System.Photo.FocalLengthInFilm;System.PropGroup.PhotoAdvanced;System.Photo.LensManufacturer;System.Photo.LensModel;System.Photo.FlashManufacturer;System.Photo.FlashModel;System.Photo.Contrast;System.Photo.Brightness;System.Photo.LightSource;System.Photo.ExposureProgram;System.Photo.Saturation;System.Photo.Sharpness;System.Photo.WhiteBalance;System.Photo.PhotometricInterpretation;System.Photo.DigitalZoom;System.Photo.EXIFVersion;System.PropGroup.GPS;*System.GPS.Latitude;*System.GPS.Longitude;*System.GPS.Altitude;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.DateCreated;System.DateModified;System.Size;System.FileAttributes;System.OfflineAvailability;System.OfflineStatus;System.SharedWith;System.FileOwner;System.ComputerName"
- "ImageOptionFlags"=dword:00000001
- "InfoTip"="prop:System.ItemType;System.Photo.DateTaken;System.Keywords;System.Rating;*System.Image.Dimensions;*System.Size;System.Title"
- "PreviewDetails"="prop:System.Photo.DateTaken;System.Rating;*System.Image.Dimensions;*System.Size;System.Comment;*System.OfflineAvailability;*System.OfflineStatus;System.Photo.CameraManufacturer;System.Photo.CameraModel;*System.Photo.FNumber;*System.Photo.ExposureTime;*System.Photo.ISOSpeed;*System.Photo.ExposureBias;*System.Photo.FocalLength;*System.Photo.MaxAperture;*System.Photo.MeteringMode;*System.Photo.SubjectDistance;*System.Photo.Flash;*System.Photo.FlashEnergy;*System.Photo.FocalLengthInFilm;*System.DateCreated;*System.DateModified;*System.DateAccessed;*System.SharedWith"
- "SetDefaultsFor"="prop:System.Author;System.Document.DateCreated;System.Photo.DateTaken"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert]
- "MUIVerb"="Convert"
- "SubCommands"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles]
- "MUIVerb"="HEIC to JPG (Keep Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles]
- "MUIVerb"="HEIC to JPG (Remove Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\" & del ^\"%L^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\print]
- "NeverDefault"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\print\command]
- @=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
- 00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
- 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
- 00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
- 61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
- 00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\print\DropTarget]
- "CLSID"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\setdesktopwallpaper]
- @=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
- 74,00,6f,00,62,00,6a,00,65,00,63,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,34,00,31,00,37,00,00,00
- "MultiSelectModel"="Player"
- "NeverDefault"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\Shell\setdesktopwallpaper\Command]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
- 65,00,00,00
- "DelegateExecute"="{ff609cc7-d34d-4049-a1aa-2293517ffcc6}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\ShellEx]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\ShellEx\ContextMenuHandlers]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\ShellEx\ContextMenuHandlers\ShellImagePreview]
- @="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
- @="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heif\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
- @="{C7657C4A-9F68-40fa-A4DF-96BC08EB3551}"
-
- --------------
- Windows Registry Editor Version 5.00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic]
- "ExtendedTileInfo"="prop:System.ItemType;System.Photo.DateTaken;*System.Image.Dimensions"
- "FullDetails"="prop:System.PropGroup.Description;System.Rating;System.Comment;System.PropGroup.Origin;System.Photo.DateTaken;System.ApplicationName;System.DateAcquired;System.Copyright;System.PropGroup.Image;System.Image.ImageID;System.Image.Dimensions;System.Image.HorizontalSize;System.Image.VerticalSize;System.Image.HorizontalResolution;System.Image.VerticalResolution;System.Image.BitDepth;System.Image.Compression;System.Image.ResolutionUnit;System.Image.ColorSpace;System.Image.CompressedBitsPerPixel;System.PropGroup.Camera;System.Photo.CameraManufacturer;System.Photo.CameraModel;System.Photo.FNumber;System.Photo.ExposureTime;System.Photo.ISOSpeed;System.Photo.ExposureBias;System.Photo.FocalLength;System.Photo.MaxAperture;System.Photo.MeteringMode;System.Photo.SubjectDistance;System.Photo.Flash;System.Photo.FlashEnergy;System.Photo.FocalLengthInFilm;System.PropGroup.PhotoAdvanced;System.Photo.LensManufacturer;System.Photo.LensModel;System.Photo.FlashManufacturer;System.Photo.FlashModel;System.Photo.Contrast;System.Photo.Brightness;System.Photo.LightSource;System.Photo.ExposureProgram;System.Photo.Saturation;System.Photo.Sharpness;System.Photo.WhiteBalance;System.Photo.PhotometricInterpretation;System.Photo.DigitalZoom;System.Photo.EXIFVersion;System.PropGroup.GPS;*System.GPS.Latitude;*System.GPS.Longitude;*System.GPS.Altitude;System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemType;System.ItemFolderPathDisplay;System.DateCreated;System.DateModified;System.Size;System.FileAttributes;System.OfflineAvailability;System.OfflineStatus;System.SharedWith;System.FileOwner;System.ComputerName"
- "ImageOptionFlags"=dword:00000001
- "InfoTip"="prop:System.ItemType;System.Photo.DateTaken;System.Rating;*System.Image.Dimensions;*System.Size;System.Title"
- "PreviewDetails"="prop:System.Photo.DateTaken;System.Rating;*System.Image.Dimensions;*System.Size;System.Comment;*System.OfflineAvailability;*System.OfflineStatus;System.Photo.CameraManufacturer;System.Photo.CameraModel;*System.Photo.FNumber;*System.Photo.ExposureTime;*System.Photo.ISOSpeed;*System.Photo.ExposureBias;*System.Photo.FocalLength;*System.Photo.MaxAperture;*System.Photo.MeteringMode;*System.Photo.SubjectDistance;*System.Photo.Flash;*System.Photo.FlashEnergy;*System.Photo.FocalLengthInFilm;*System.DateCreated;*System.DateModified;*System.DateAccessed;*System.SharedWith"
- "SetDefaultsFor"="prop:System.Author;System.Document.DateCreated;System.Photo.DateTaken"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert]
- "MUIVerb"="Convert"
- "SubCommands"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles]
- "MUIVerb"="HEIC to JPG (Keep Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGKeepOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles]
- "MUIVerb"="HEIC to JPG (Remove Original Files)"
- "Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,\
- 6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,35,00,33,00,35,00,37,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\Convert\Shell\HEICtoJPGRemoveOriginalFiles\command]
- @="cmd.exe /c \"magick ^\"%L^\" -set filename:basefn ^\"%%t^\" ^\"%W^\\%%[filename:basefn].jpg^\" & del ^\"%L^\"\""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\print]
- "NeverDefault"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\print\command]
- @=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
- 00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
- 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
- 00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
- 61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
- 00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\print\DropTarget]
- "CLSID"="{60fd46de-f830-4894-a628-6fa81bc0190d}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\setdesktopwallpaper]
- @=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,\
- 00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,\
- 74,00,6f,00,62,00,6a,00,65,00,63,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,\
- 00,34,00,31,00,37,00,00,00
- "MultiSelectModel"="Player"
- "NeverDefault"=""
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\setdesktopwallpaper\Command]
- @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
- 00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
- 65,00,00,00
- "DelegateExecute"="{ff609cc7-d34d-4049-a1aa-2293517ffcc6}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\ShellEx]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\ShellEx\ContextMenuHandlers]
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\ShellEx\ContextMenuHandlers\ShellImagePreview]
- @="{FFE2A43C-56B9-4bf5-9A79-CC6D4285608A}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
- @="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"
- [HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\ShellEx\{e357fccd-a995-4576-b01f-234630154e96}]
- @="{C7657C4A-9F68-40fa-A4DF-96BC08EB3551}"
Add Comment
Please, Sign In to add comment
Advertisement