A Photography forum. PhotoBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PhotoBanter.com forum » Digital Photography » Digital Photography
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can Irfanview alone make a transparent background of a multi-color background?



 
 
Thread Tools Display Modes
  #1  
Old April 21st 19, 07:21 AM posted to rec.photo.digital,alt.comp.freeware,alt.windows7.general
arlen holder
external usenet poster
 
Posts: 3
Default Can Irfanview alone make a transparent background of a multi-color background?

Can Irfanview freeware alone make a transparent background of a multi-color background?

Using _only_ Irfanview freeware and nothing else, is it possible to remove
the paint.net step in the tutorial below for creating a shortcut icon from
any arbitrary screenshot which usually does NOT have a single-color
background to set to be transparent?

================================================== ==========================
o Find or create a shortcut that you'd like to change the icon for.

As an example, create a shortcut with the Veracrypt target shown below:
Shortcut Name: dismount.lnk
Shortcut Target = C:\apps\encrypt\VeraCrypt.exe /dismount /force
================================================== ==========================
o Determine your Windows system "Shell Icon Size" dimensions:

Start Run regedit
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
Shell Icon Size = 32

NOTE: This tells you your "Shell Icon Size" should be a 32x32 pixels.
================================================== ==========================
o Screenshot any desired image (which will likely have an "uneven" background):

For example, snap a screenshot of this bank icon example on the net:
https://pngtree.com/freepng/vector-bank-icon_3991558.html

Crop with Irfanview control+y & closecrop with shift+control+y.
Save with control+s to a png file.
(For example, save as "original_icon_bank01.png")

NOTE: Since the background is uneven, it won't be wholly transparent.
================================================== ==========================
o Set the background to be wholly transparent:

Open the file in Paint.NET
Create an ellipse selection circle around the foreground image.
Crop to that ellipse using control+shift+x.
Save with control+s to a png file.
(For example, save as "original_icon_bank01.png")

NOTE: The background is wholly transparent outside the ellipse select.
================================================== ==========================
o Convert the PNG file to an ICO file:
Open the png file in Irfanview and save as an ICO file.

When you save with Irfanview control+s to ico, check the "Show options dialog".
That will pop up a form named "PNG/PNM/ICO save options".
In that form check "Save Transparent Color" for PNG and/or ICO.
Irfanview will ask: "Choose transparent color"
"Click in the image to select the transparent color."
After clicking on the background area, save as an ico file.
(For example, save as "original_icon_bank01.ico")
================================================== ==========================
o Apply that icon to an existing shortcut:
RClick (shortcut) Properties Shortcut Change Icon [Browse]
"32x32_icon_bank01.ico"
================================================== ==========================

In summary, the goal of this thread is to eliminate the Paint.NET step above.
o Can Irfanview freeware alone make a transparent background of a multi-color background?

--
Note: I'm well aware of greenfish icon editor, icofx, icoconvert,
foldermarket, ImageMagick, Gimp, photoshop, etc., and I'm very well aware
of the thousands of downloadable icon packages, and I'm also well aware of
the 16 main locations for icons in the Windows folders and I'm aware of
online icon creation web pages, etc., ... but the goal here is to write a
tutorial to help people create any desired icon from any screenshot which
will likely have an uneven background, all using _only_ Irfanview freeware
(if that is possible).
  #2  
Old April 21st 19, 09:04 AM posted to rec.photo.digital,alt.comp.freeware,alt.windows7.general
Jim[_24_]
external usenet poster
 
Posts: 1
Default Can Irfanview alone make a transparent background of a multi-color background?

arlen holder wrote:

Can Irfanview freeware alone make a transparent background of a multi-color background?

Using _only_ Irfanview freeware and nothing else, is it possible to remove
the paint.net step in the tutorial below for creating a shortcut icon from
any arbitrary screenshot which usually does NOT have a single-color
background to set to be transparent?


Yes, IrfanView alone can make a transparent background of a multi-color
background.

o IrfanView can only make 0% or 100% transparency, not alpha
transparency. (After your background is 100% transparent,
it will no longer have multi-colors.)
o With only 0% or 100% transparency, the edges of your shape
may look jagged and not smooth. To get a smooth edge, use
paint.net.
o IrfanView cannot crop to an ellipse like your paint.net step
does. To crop to an ellipse, use paint.net.
o IrfanView's transparency works like the internals of the GIF
file format. You first fill the background area with a
single color, and then set that color to be the "transparent"
color for the image.

o Set the background to be wholly transparent:

Open the file in Paint.NET
Create an ellipse selection circle around the foreground image.
Crop to that ellipse using control+shift+x.



[Followup-To set to alt.comp.freeware to reduce SBI|BI3 index of ECP]

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Irfanview Save As options (Interlaced & Transparent color) Jennifer Murphy[_2_] Digital Photography 4 December 29th 13 12:14 AM
background color for skin photos [email protected] Digital SLR Cameras 6 August 4th 09 01:13 AM
background color for skin photos [email protected] Digital Photography 5 August 3rd 09 06:25 AM
Best color for background of parts photos eganders Digital Photography 10 March 12th 07 11:26 AM
Tutorial photo slideshow CD Windows XP Irfanview Freeware w background music Jane Digital Photography 11 March 30th 06 06:35 AM


All times are GMT +1. The time now is 01:54 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PhotoBanter.com.
The comments are property of their posters.