Skip to content

error reading "ftyp" box: got box type "\x00\x10JF" instead #35

@James-THEA

Description

@James-THEA

I had been using php-heic-to-jpg successfully for several months, but now I am getting:

Couldn't convert HEIC to JPG: '2024/02/27 10:50:13 error reading "ftyp" box: got box type "\x00\x10JF" instead
Error while converting {filePath}.heic: error reading "ftyp" box: got box type "\x00\x10JF" instead
Created by MaestroError' | Bin used: 'heicToJpg.exe' HEIC: '{filePath}.heic'
Full Command: '{root}\vendor\maestroerror\php-heic-to-jpg\src/../bin/heicToJpg.exe "{filePath}.heic" "{filePath}.heic-161371566565de04b46309a8.17376750" 2>&1'
Output from heif-converter-image exe:  {"exception":"[object] (RuntimeException(code: 0): Couldn't convert HEIC to JPG: '2024/02/27 10:50:13 error reading \"ftyp\" box: got box type \"\\x00\\x10JF\" instead
Error while converting {filePath}.heic: error reading \"ftyp\" box: got box type \"\\x00\\x10JF\" instead
Created by MaestroError' | Bin used: 'heicToJpg.exe' HEIC: '{filePath}.heic' Full Command: {root}vendor\\maestroerror\\php-heic-to-jpg\\src/../bin/heicToJpg.exe \"{filePath}.heic\" \"{filePath}.heic-161371566565de04b46309a8.17376750\" 2>&1'
Output from heif-converter-image exe:  at {root}\\vendor\\maestroerror\\php-heic-to-jpg\\src\\HeicToJpg.php:205)

I tried updating and also downgrading to see if this was a version problem, but I couldn't get back to a working state. It definitely may be an interaction with another package my project brings in.

Happy to provide any other information!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions