Menu

#3 Pictures...

open
nobody
None
5
2011-05-06
2011-05-06
cgequd
No

It would be great if the pair AUDIOAnalyzeFileW / AUDIOSaveChangesW could copy images for example from mp3 to flac, from ogg to m4a etc. As to have two universal functions to read picture from any format and to write to any format instead of a set of special methods "ID3V2AddPictureFileW", "WMAAddPictureFileW", etc. It would be perfect to have all that methods encapsulated into for example "AUDIOAddPictureFileW" Isn't it?

Discussion

  • Thomas Hamstrup

    Thomas Hamstrup - 2011-05-06

    Why would you want to copy images from one format to another?
    Before saving you need to analyze the file and hence it's the same format.
    The picture procedures need to handle different parameters and not all formats can have pictures written to them. Therefore different procedures exist.

     
  • cgequd

    cgequd - 2011-05-06

    Q: Why would you want to copy images from one format to another?
    A:Because the next step after conversion from flac to mp3 which i need is to copy all possible tags from flac to mp3, from flac to ape etc.

    Q:Before saving you need to analyze the file and hence it's the same format.
    The picture procedures need to handle different parameters and not all
    formats can have pictures written to them. Therefore different procedures
    exist.
    A: It should be encapsulated into dll, and AUDIOAddPictureFileW/AUDIOGetPictureFileW, AUDIOAnalyzeFileW / AUDIOSaveChangesW should provide simple way to add picture to any supported/supporting format and to copy pictures from one audio file format to another.

    Ans of course for that who need more options of course should exist the rest of functions:
    function FLACGetPictureArrayW
    function FLACGetPictureCountW
    function FLACGetPictureDescriptionW
    function FLACGetPictureFileW
    function FLACGetPictureMimeW
    function FLACGetPictureSizeW
    etc.

     

Log in to post a comment.

MongoDB Logo MongoDB