Comments (13)
This is now included in the latest official release
from imageviewer.
Hi,
so I thought about this a little bit.
If I implement a dropdown, I would add this to the menu bar via View->Pixel Display: Channels (with your proposed dropdown).
In this case, the image will be displayed with all colors, but the status bar will only show the selected channels.
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
from imageviewer.
maybe another example would be good:
Top left is the source image that has all kinds of information stored in the RGBA channels.
I'm currently using the equations feature to separate them, but I would like to have a full image display toggle that basically just hides all the other channels and only displays one channel as a greyscale image.
in Oculante you can do this with this drop down menu.
Something like that on the bottom bar would be really neat to have for me.
And as I mentioned, your program is the first one to accurately display the file types I work with without having to convert them first, and I really like the equations and comparison features your program offers.
from imageviewer.
Ah okay,
I think I understand it better now.
I could add such a dropdown menu in the status bar.
A few questions:
- Should the pixel colors in the status bar only display the selected channels? Or all channels?
- What happens on export? I would assume this is just a "view" filter, so if I export the texture, I would still export all available channels instead of the channels filtered by the dropdown. (What would be your expected behavior in this case?)
- Are you able to compile the project by yourself? Or would you like me to attach the new .exe file when I'm done?
from imageviewer.
- I believe it would be logical if it displayed the Greyscale value of the selected pixel on the channel that is currently being displayed.
- for my purposes, being able to export individual channels as a greyscale image is very valuable. if that is a possible feature, that would be great!
- I'm currently pulling the project but I'm not sure if there are any prerequisites that I might need. In any case, there are probably other people who would appreciate these features! An official release sounds like the best option. Albeit I would be willing to compile it for testing purposes, of cause.
from imageviewer.
Hi,
I added a dropdown menu to the status bar like suggested. The pixel color format will be automatically detected from now on (if you work with a grayscale image, you will only see a single value). Let me know when you need additional changes.
For build instructions see: https://github.com/kopaka1822/ImageViewer/blob/master/Docs/build.md
If this is too complicated (if you don't work with visual studio) I can compile an executable for you (let me know).
from imageviewer.
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.
there probably went something majorly wrong either when I pulled it or when VS tried to update it to 2022.
A working compiled executable would be much appreciated!
from imageviewer.
from imageviewer.
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.
from imageviewer.
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.
from imageviewer.
I think I fixed the bug you mentioned.
I belive that the source was an incorrect format suggestion in the export dialog:
In the old version, sometimes the format R8_SRGB was set as the default choice instead of RGB8_SRGB (This was probably the error?).
I have fixed the suggestion in the new version.
However, note that if your image is actually grayscale (red=green=blue) it will still recommend R8 as the first choice, because it saves memory. If you want to forcefully export a grayscale image as RGB8 you need to adjust the format in the dropdown.
Replacing the .exe should suffice:
ImageViewer.zip
from imageviewer.
@cityrobo Does everything work now or did you encounter new issues?
from imageviewer.
Sorry for the long delay.
The last time I tried it, the export settings still didn't update to the selected channel.
When I had RGB selected, the export was still set to R-only and I had to manually select the RGB export from the drop down once I was in the export window.
Not a huge issue, just something that a new user could stumble over.
from imageviewer.
Related Issues (20)
- Operator precedence invalid
- Exporting with a view multiplyer (example 1/2) is falsely applied to the alpha chanel
- Add Ctrl+O for opening files
- Invalid Formula (I0-I1)^2 HOT 1
- KTX Cubemap export HOT 2
- Port to macOS or Linux HOT 1
- PFM image with not-a-one scale is not displayed properly. HOT 3
- KTX 1.1 load error "Attempted to divide by zero." Image Viewer v3.4 HOT 8
- 3.5 download zip is tagged with a virus HOT 1
- Why astc and etc2 looks different from orginal png? HOT 6
- Add shortcut to turn off/on alpha channel and shortcut to show Alpha channel only. HOT 2
- when I read hdr I got a error [error during reading file ] HOT 7
- Hope to support horizontal or vertical CUbeMap conversion of latitude and longitude HOT 1
- malware included? im unsure... HOT 1
- ImageConsole.exe using float as a filterparam HOT 1
- 8K Cubemap HOT 4
- Crashes on loading sample KTX file HOT 7
- The type initializer for 'ImageFramework.DirectX.Device' threw an exception HOT 1
- Add the ability to change the color space of the image and save it with the applied parameter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageviewer.