I'm working on a private crypter; But the problem is i cant manage to convert png (or any other image file) to ico without loosing or distorting quality. Any help?
|
C#
PNG to ICO? |
(Jan 27, 2019 11:50 AM)HFDone Wrote: load your png as bitmap and then save it with ImageFormat.Icon option ive tried that, but it lowers the quality
Jan 27, 2019 12:10 PM
(This post was last modified: Jan 27, 2019 12:11 PM by HFDone.)
then you probably will need to use the Graphics Class https://docs.microsoft.com/en-us/dotnet/...work-4.7.2
CompositingMode Gets a value that specifies how composited images are drawn to this Graphics. CompositingQuality Gets or sets the rendering quality of composited images drawn to this Graphics. InterpolationMode Gets or sets the interpolation mode associated with this Graphics. SmoothingMode Gets or sets the rendering quality for this Graphics. Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Jan 27, 2019 04:16 PM)gigajew Wrote: Here you go gigjew you are doing wonderful work here... Very few people help in this section now....
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671 USDT - 0xf1c873217032468990D3313da6509D1b813c4671 PP - [email protected] (Jan 28, 2019 09:13 AM)SaketSaket Wrote: gigjew you are doing wonderful work here... Very few people help in this section now.... because the majority of the questions asked here are rather basic and not even interesting anymore. tbh i’d rather answer questions on stackoverflow.
Jan 28, 2019 08:20 PM
(This post was last modified: Jan 28, 2019 08:25 PM by 0xDEAD10CC.)
(Jan 27, 2019 04:16 PM)gigajew Wrote: Here you go I'm not sure why you would use Encoding.Default here. You've also mixed Dispose() calls with the using statement here, but it seems like a bit of unnecessary/additional code too at first glance..
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer] |
|
|


![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)

![[Image: f4hRdFS.gif]](https://i.imgur.com/f4hRdFS.gif)