-
Notifications
You must be signed in to change notification settings - Fork 37
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
Channel Selector / Separator Dropdown #30
Comments
Hi, An alternative I thought of would be to automatically detect if the image is grayscale (I already check for an alpha channel anyways). In the case of a grayscale image I could only display a single number in the status bar (This would be for the r(), g(), b() cases). *Let me know what you prefer |
Ah okay,
|
|
…olor value in this case (part 1/2 for #30)
Hi, |
I only have Visual Studio 2022 installed, and even after a bit of messing around it still doesn't want to compile the DxImageLoader.dll because it can't find gli/format.hpp, and after setting the path to the file correctly, another 921 errors appear. A working compiled executable would be much appreciated! |
this is amazing! this is exactly what I have been looking for! Such a great texture analysis tool you have created here! The combination of being able to open all these weird DDS texture compression formats without any messing around plus the ability to only display single channels at a time is something I have not found in any other stand alone image viewer, so thank you very much for considering my feature request and implementing it so perfectly. |
I have found a bug where when you have only the RGB channels selected through the drop down, it exports the red channel only instead of the RGB channels with alpha removed / set to white. |
I think I fixed the bug you mentioned. Replacing the .exe should suffice: |
@cityrobo Does everything work now or did you encounter new issues? |
Sorry for the long delay. The last time I tried it, the export settings still didn't update to the selected channel. Not a huge issue, just something that a new user could stumble over. |
This is now included in the latest official release |
Is your feature request related to a problem? Please describe.
For game asset research I am often faced with textures that included different types of information in separate channels of an image. For example, in the Unity engine standard shader, the roughness of the material is stored in the alpha channel of the metallic texture, or there are even further packed maps that include Ambient Occlusion, Metallicity, Specularity and Roughness into one picture, stored in the red, green, blue and alpha channel respectively.
Describe the solution you'd like
I would like to have a drop down or other kind of interface that allows me to explicitly only show a single channel as a greyscale picture so one can analyze the contents of such packed maps more efficiently. Oculante (another open source image viewer) has such a button, but it doesn't support all the exotic image formats (primarily DDS and BC5n) that I require for my research.
A simple dropdown or button interface that allows me to select RGBA, RGB, R, G, and B channels would make my life a lot easier, now that I have finally found an image viewer that can actually flawlessly open all the weird textures I am dealing with. Especially normal maps in the DDS format compressed with BC5n, that only have two channels, are finally able to be opened without having to convert them with texconv beforehand.
Describe alternatives you've considered
I have noticed that I can achieve this with the equations and the r(), g(), b(), and a() functions, but that is a lot of work compared to simply clicking a button, albeit it is quite useful for comparing the different channels to each other.
Additional context
here you can see the drop down from Oculante in the top left corner. The image viewer in the Blender 3D modeling software also has such a dropdown, but it's not exactly meant as a stand alone image viewer for quickly opening up images.
The text was updated successfully, but these errors were encountered: