Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dhouck opened this issue Dec 7, 2023 · 4 comments

Comments

@dhouck
Copy link

dhouck commented Dec 7, 2023

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

@dhouck
Copy link
Author

dhouck commented 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.

@claunia
Copy link
Collaborator

claunia commented 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.

@dhouck
Copy link
Author

dhouck commented 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.

@beta-tester
Copy link

beta-tester commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants