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

Allow ExtractOIIOTranscode without colorspace, to just scale #1003

Open
2 tasks done
alainxi opened this issue Nov 8, 2024 · 1 comment
Open
2 tasks done

Allow ExtractOIIOTranscode without colorspace, to just scale #1003

alainxi opened this issue Nov 8, 2024 · 1 comment
Labels
type: enhancement Improvement of existing functionality or minor addition

Comments

@alainxi
Copy link

alainxi commented Nov 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Please describe the feature you have in mind and explain what the current shortcomings are?

Currently, if you want to use OIIO, you need to enable Color Management in your DCC, even if you don't want to use colorspace.
It would be useful to allow ExtractOIIOTranscode to support a setting like "Dont convert colorspace" so that we can also use it to just convert filetype or perform scaling, even if NO colorspace data exists in the input instance.
Because in those cases we don't want to mess with the colorspace of the image but JUST want to resize.

How would you imagine the implementation of the feature?

I would like to avoid enabling Color Management in DCCs, when I just want to scale textures.

Are there any labels you wish to add?

  • I have added the relevant labels to the enhancement request.

Describe alternatives you've considered:

No response

Additional context:

Discussed with Mustafa and Roy, here :

https://community.ynput.io/t/publish-from-substance-painter-output-several-resolutions/1971/3

@alainxi alainxi added the type: enhancement Improvement of existing functionality or minor addition label Nov 8, 2024
@alainxi
Copy link
Author

alainxi commented Nov 22, 2024

Another consequence of OIIO being forced to use color : Ayon code only allows to use OIIO if the input maps have RGB channels.
So, you can't resize a single-channel map.
For example it's a problem for textures "Roughness", "Metallic" and "Height", that are exported by Substance Painter with the "PBR Metallic Roughness' Output Template.

Discussed here :
https://discord.com/channels/517362899170230292/563751989075378201/1309524464685420616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

No branches or pull requests

1 participant