I mounted a jar filesystem and explored to some of the contained icons. I was
hoping to see the size of the icon in the editor/viewer without unjarring and
opening in an external editor, but it seems that the image module doesn't
provide that. It would be nice if that could be added, maybe just as read only
Set target milestone to TBD
It would be a reasonable enhancement. Accepted.
*** Issue 162606 has been marked as a duplicate of this issue. ***
*** Issue 91215 has been marked as a duplicate of this issue. ***
How could it be shown? Something like sizes at Matisse as [x,y] or should we have two properties, one for each property?
There should be several read-only properties shown
coordinate last clicked on (to aid in calculating positions used in code)
color last clicked on (for selection to clipboard and pasting into code)
Also a way to easily measure distances in pixels would be nice. All of these things could assist in integrating images
into the rest of the UI that you are coding.
Created attachment 84474 [details]
Sample image for the future patch
Created attachment 84475 [details]
Patch for the enhancement
I like the idea of having separate width and height properties for clarity. Maybe even mention that the units are
pixels/px. I also think the mouse-over coordinate and color would be helpful (hex and rgb?) Thanks!
I wish to track it by NetFIX program if you agree. The patch is already attached.
I wanted not just a mouse-over coordinate and color (maybe a tool tip?), but fields that stuck to the values for the
clicked on pixel - so I could then cut and paste from that field into the code. (fields that are changing as I move the
mouse are no good for copying to the clipboard)
Show the colors in multiple formats (hex, and RGBA) - don't for get the alpha channel value if it is an image that has
Name and Extension fields seem wasteful, since that will be in the "editor" tab , and it's also shown in two other places
in the UI mockup shown in the property.png attachment.
Though the image format (which can be different from the extension) and MIME type.. would be useful.
Created attachment 84476 [details]
Patch with width and height in separated properties
Added self to CC list
I think the patch meets the requirements of this ticket (width and height properties). Anything else should probably be
separate RFE tickets.
Please, summarize the needed properties in an organized way. This issue is about size properties and we can track
another ones too.
About colors, take a look at this  plugin. It should help you.
I agree with Ryan, the patch is for this issue and for another properties, please file different issue(s) and CC me
please. The second patch I added 2 properties, one for each width and height even that I added pixel/px description at
details. I hope it will be integrated as soon as the patch could be reviewed.
Just a very minor detail.. I would use either "pixels" or "px" in the hint, but not both. Preferably "pixels". I have
no issues with you making this part of NetFIX, hopefully it that helps it get integrated sooner.
Created attachment 84490 [details]
Properties to show image size #2
Created attachment 84491 [details]
3rd proposed patch
Hopefully it will be the final patch. :-D
I fixed the hint to show just "pixels". Please, take a look at attached image to see the final result.
Perfect, thank you!!
Alexei, can somebody from your team please review latest Michel's patch and integrate it if no objections are found?
Thanks a lot!
Probably license header should be updated too. Thanks
Alexei, any update on this please? Thanks!
I'm sorry, we did integrate this fix prior to 6.8 feature freeze.
You mean "didn't" right?
Yes, we didn't.
I see. So, can we do this after FCS?
Yes. As soon as trunk will be opened for post 6.8 changes.
So, the trunk is now open, can we please integrate this patch? Thanks a lot!
Fixed in the main trunk
The issue#19794#3.patch is applied.
Thanks a lot Victor and especially Michel for your patch!
Integrated into 'main-golden', will be available in build *200912080200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Victor G. Vasilyev <email@example.com>
Log: #19794 - Add properties to display size. Proposed NETFIX issue#19794#3.patch is applied.