[Feature request] List formats that will lose the least information for given image #976

Open
opened 2026-01-29 15:35:29 +00:00 by claunia · 4 comments
Owner

Originally created by @dhouck on GitHub (Dec 7, 2023).

Originally assigned to: @claunia on GitHub.

Type

Improvement to output...

Description

Currently, aaru formats lists all formats supported. I want something like aaru formats <image>, which will list formats that could be converted to with aaru image convert, along with what or any information will be lost.

Context

There are a lot of image formats that exist. Most things donʼt support aaruf (yet), but they do support others. Aaru currently requires -f for all the formats I try because they donʼt support everything, but I donʼt know if thereʼs a format (or combination of formats) which does have everything I want.

The specific thing that prompted this is a warning that bin/cue and bin/toc formats lose the CD_FullTOC tag, which I think is CD-Text. Iʼm sure that thereʼs some non-aaruf format that can store CD-Text, even if it doesnʼt store the rest of the data, but I canʼt find it with the current options.

Documentation

No response

Originally created by @dhouck on GitHub (Dec 7, 2023). Originally assigned to: @claunia on GitHub. ### Type Improvement to output... ### Description Currently, `aaru formats` lists all formats supported. I want something like `aaru formats <image>`, which will list formats that <image> could be converted to with `aaru image convert`, along with what or any information will be lost. ### Context There are a lot of image formats that exist. Most things donʼt support `aaruf` (yet), but they do support others. Aaru currently requires `-f` for all the formats I try because they donʼt support everything, but I donʼt know if thereʼs a format (or combination of formats) which does have everything I want. The specific thing that prompted this is a warning that bin/cue and bin/toc formats lose the `CD_FullTOC` tag, which I think is CD-Text. Iʼm sure that thereʼs some non-`aaruf` format that can store CD-Text, even if it doesnʼt store the rest of the data, but I canʼt find it with the current options. ### Documentation _No response_
claunia added the feature requestwontfix labels 2026-01-29 15:35:30 +00:00
Author
Owner

@dhouck commented on GitHub (Dec 7, 2023):

… Also for the specific audio CD I tried with, aaru image decode shows the CD-Text is empty so I donʼt mind passing -f and ignoring it in this this case, but in other cases itʼll be relevant.

@dhouck commented on GitHub (Dec 7, 2023): … Also for the specific audio CD I tried with, `aaru image decode` shows the CD-Text is empty so I donʼt mind passing `-f` and ignoring it in this this case, but in other cases itʼll be relevant.
Author
Owner

@claunia commented on GitHub (Dec 7, 2023):

Hi,

You think wrong the full toc is not CD-Text, CD-Text is CD-Text.

All formats lose something as they are by design created to create pirated copies, not audited preservations.

Sorry but we do not see an appropriate return of investment for the programmer-hours this feature would require to implement and maintain.

@claunia commented on GitHub (Dec 7, 2023): Hi, You think wrong the full toc is not CD-Text, CD-Text is CD-Text. All formats lose something as they are by design created to create pirated copies, not audited preservations. Sorry but we do not see an appropriate return of investment for the programmer-hours this feature would require to implement and maintain.
Author
Owner

@dhouck commented on GitHub (Dec 7, 2023):

I didnʼt expect it would take much effort to create, and even less to maintain, because Aaru already has all the information based on what it can convert.

But fair enough. Iʼll either try each likely format manually or write a shell script, probably.

@dhouck commented on GitHub (Dec 7, 2023): I didnʼt expect it would take much effort to create, and even less to maintain, because Aaru already has all the information based on what it can convert. But fair enough. Iʼll either try each likely format manually or write a shell script, probably.
Author
Owner

@beta-tester commented on GitHub (Dec 15, 2023):

i hope i can add me comment here as it is partially related to this feature request.

when i try to convert one image format to another, Aaru tells me that there will be loss in information, if i want to continue i have to add the force option.

but i have no knowledge what information i will lose, to decide if i need the information or not that will gone lost.

it would be nice when Aaru will give the a hint what information will be lost if i force converting from the one image format to the other image format.

e.g.:
aaru image convert test.ccd test.toc

@beta-tester commented on GitHub (Dec 15, 2023): i hope i can add me comment here as it is partially related to this feature request. when i try to convert one image format to another, Aaru tells me that there will be loss in information, if i want to continue i have to add the `force` option. but i have no knowledge what information i will lose, to decide if i need the information or not that will gone lost. it would be nice when Aaru will give the a hint what information will be lost if i force converting from the one image format to the other image format. e.g.: `aaru image convert test.ccd test.toc`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#976