How to create disabled icons for Eclipse plug-in - eclipse-plugin

I'm referencing the official Eclipse guidelines located here, which in the section "States" contain the information on "Creating the disabled icon state".
Sadly, the first sentences in this section are:
To create this state, you will use the "eclipse_disabledrender_R3V6.atn" action in the Eclipse-style Actions palette. Click here to download the Eclipse-style Actions.
Load the "eclipse_disabledrender_R3V6.atn" into the the Adobe Photoshop Actions palette.
I have no Adobe Photoshop, so I have no idea what that file does (I tried opening it as a text file, but it's nothing readable).
The image for this section is not accessible either, so any information on how to create disabled icons is lost (to me).
I assume it's something like "change saturation to -50 and brightness to +50", but I'd love to have the original actions for a consistent look.
How do I create disabled icons for a given icon?

I managed to get myself a copy of Adobe Photoshop, and this is what the action says:
It's German, so I'll translate the relevant part for whoever might have the same problem:
Hue 0 (no changes)
Saturation -80 (scale seems to be -100 to 100, with 0 the default)
Brightness +40 (on the same scale)
For some reason this action paints a rectangle around the finished icon (RGB 193, 193, 193), but I couldn't find a disabled icon where this was actually done.

Related

How to create new brushes for photoshop?

I started downloading few brush presets. Now I wonder, how to make new photoshop brush presets(like the shape of brush, etc.)
Installing Photoshop brushes step by step:
Search for a basic brush set and find one you like on an internet (a few good sites – DevianArt, Creative Market, Design Cuts)
Download the .ZIP file to your computer
Use a ZIP Extractor to open the file and make sure there is a ".abr" file in the folder (it’s the only one that matters for you)
Open up the Photoshop in order to install your brushes
Click on the Brush tool, to bring up the brush bar on the top of the screen
Click on the small downward arrow in the brush bar which opens up the Brushes Preset Menu.
Click on the gear symbol, then "Load Brushes” and find the brushes you have just downloaded (these are in the .apr file)
Double-click on the .apr file to install your brushes (This will automatically add your brushes to your preset menu)
You can do the following -
1. Design a brush on a normal canvas.
2. Select the image ( Ctrl + A ) and goto Edit --> Define Brush Preset.
3. Done.
Hope it helped

True HiDPI in IntelliJ 15

I used to use IntelliJ 14 with the -Dhidpi=true flag in the vmoptions file and didn't have any problems with the scaling. I've just upgraded to 15 and it features "True HiDPI" but it doesn't seem to work on my Surface Pro 3. I chose to import my options from my previous build but I've checked the new vmoptions file and that flag wasn't copied over. The JetBrains site mentions that the flag isn't required anymore anyway. I've looked through the settings dialogs and the only relevant option seems to be the anti-aliasing settings which are defaulted to subpixel (sounds fine to me). Anyone have an idea how to get back to the 14-era scaling? Thanks.
Try changing "Override the default fonts by..." setting in Appearance & Behavior => Appearance tab. It scaled the menu and icons accordingly for me.
Actually, in addition to the setting in
Appearance & Behavior > Appearance
tab, the following font settings have to be changed, too:
Editor > Colors & Fonts > Font
Editor > Colors & Fonts > Console Font (Button Apply editor font setting)
I haven't found a clear and official recipe to get IntelliJ running correctly on a High DPI screen yet (and have also had a support request running a while ago on which I was repeatedly asked to provide new screen shots using new EAP releases), but I think this is the closest you can get with the IntelliJ 15.
Update 2017-20-17:
It looks like JetBrains has noticed that some people have problems with high-DPI screens. There is a new article (with discussion) that suggests some remedies (I haven't tested them yet, as my current setup is more or less usable):
https://intellij-support.jetbrains.com/hc/en-us/articles/115001260010

Convertig an image to an .ICO file without loosing color depth (and without installing additional utilities)?

In a form I have an ImageList named MainLogoImageList containing a 100x100 pixel 32-bit colordepth image. That is my app logo.
I am too lazy to set up an icon editor and edit an icon of that logo, or convert the image to an .ICO file. (Ergh, well, I am not allowed to install custom utilities.)
To set my forms' icon, I use
Icon = IconFromImage(MainLogoImageList.Images(0))
in the OnLoad event handler to set the window icon.
In my about box, i have a PictureBox with no image. In its OnLoad event, I use
LogoPictureBox.Image = MyMainForm.MainLogoImageList.Images(0)
Icon = IconFromImage(MyMainForm.MainLogoImageList.Images(0))
to set the About box's icon and content.
So far, so good, the icon looks pretty good for a being created from a 100x100 pixel bitmap.
Is there an easy "no utility required" :-) way to get the icon that is returned my IconFromImage saved into an .ICO file so that it will keep the color depth when loaded as the app icon? I want to use exactly the icon that IconFromImage creates.
Saving it using
Dim S As New FileStream("MyAppIcon.ico", FileMode.Append, FileAccess.Write, FileShare.Write)
Icon.Save(S)
S.Close()
in the main form's OnLoad event handler and loading that .ICO file as the app icon in VS's project properties dialog yields and icon that is obviously converted to 16 colors, and looks awful.
This is VB 10 Express.
Followed the wise advide to take this home, edit and convert it there.
Gimp#home at work.
Worked fine, looks great.
A codeless solution is better than no solution at all :-)

application icon image doesn't show in taskbar in "small icon" setting

I have a vb.net 2008 application which has its corresponding icon.
The icon shows correctly except in the taskbar when the "small icon" setting is on.
My vb.net project includes a .ico file which when I see in the IDE includes 16x16, 32x32, 48x48, 64x64 and 256x256 bitmaps, in 4, 24 and 32 bits, also 3 .png images in 256x256 32 bits each.
I made the icon myself simply using a 64x64 bitmap and then converting it to .ico, and assigning it to the application in the project properties. I thought windows would use and escalate the corresponding image, it shows even in the file explorer properly in the small icon form, but not in the taskbar.
What's going on or what do I need to do? I'm not very familiar with this. Thanks...
You need to have the correct size/bit-depth version in your icon file for whatever context WinForms wanted (e.g. the form's title bar icon, the system tray icon, the taskbar
icon, or the desktop shortcut icon) to insure it will work. You have to maintain the transparency too.
Read the following article.

Is it possible to have a PDF file open at a predefined magnification in Adobe Reader?

We have a downloadable PDF file which looks great at 72% magnification in Adobe Reader and not so good at 101%. When downloaded and opened in the reader, its default magnification is 101%.
Is there a way to define the default magnification in the PDF file itself so that we ensure the best user experience?
Thank you!
If you can control the URL used to download, you can put parameters in the URL to control how the built-in reader will display the file.
For example, http://example.org/doc.pdf#zoom=50 will set the magnification to 50%.
See: https://www.evermap.com/AutoBookmark/Manual/OpenParameters.htm
The above applies to the built-in reader supplied by Adobe. Other readers may not honor the parameters. In particular, see the answer to this question regarding Chrome.
An example of how to define magnification when opening a file (regardless of the default one):
AcroRd32 /A "zoom=50=OpenActions" sh.pdf
First, this is a programming website, so you should identify a programming context. This question will probably be closed because it belongs on the soon to be launched serverfault.com
To set the default magnification, you need Adobe Acrobat Standard or Professional not Reader to have the ability to edit pdfs. Then when you open the document, click File | Properties. Click the Initial View tab and enter 72% in the magnification text box and click ok. Save your pdf and reopen it. It should default to 72% magnification when it is opened.
Note: I am unsure if other open source pdf editors provide this type of functionality.
Update: Standard doesn't work for saving magnifications.
For Adobe Standard, go to "Edit" then "Preferences."
When you click on the "Page Display" tab on the left, you'll see a panel with a field called "Zoom," where you can select a percentage from a drop-down menu.
If the above suggestions are not working it may be because the bookmarks can contain zoom instructions in their properties. To look at the bookmark properties select a bookmark in the bookmark panel and right click it to open properties. Choose actions. There should be a description of actions that will be applied when clicking on the bookmark.
The best solution I have found is that you can add a subsequent property for zoom instructions that will execute following the initial one, and set the page zoom to your specifications. To do this, select all of the bookmarks, right click to open properties, then actions, then choose the add function. After choosing add, find the zoom instruction that is the best fit for what you are looking for.
If you want to edit the initial zoom instruction through the edit function in bookmark properties on all bookmarks, you cannot select all, because, although the zoom will be set correctly, every bookmark will be set to one bookmark page. If you wish to edit the properties this way you must edit each, one by one.