C language > Windows questions

Gdi+ image operation

<< < (4/4)

John Z:
Hi bitcoin,

Well I'm taking a stab in the dark at it.....

Isn't the png format always a lossless compression?  In lossless compression the quality value
would be meaningless so the compression would always be the same....

jpg is not necessarily lossless so the quality value less than 100 has an effect on the compression
and therefore the size.

John Z

bitcoin:

--- Quote from: John Z on February 24, 2023, 03:34:18 PM ---Isn't the png format always a lossless compression?  In lossless compression the quality value
would be meaningless so the compression would always be the same....

--- End quote ---
May be, you are right..

frankie:
As John said the PNG format is lossless, what could be changed is the compression level (see this).
You may want use the "EncoderCompression" GUID instead of "EncoderQuality".
I made same experiments, PNG encoder only accepts a custom parameter block that is undocumented. I made many searches in the net, but no info seems to be available.

Robert:
Hey frankie:

All this talk about GDI+ reminded me that I noticed a recent update to your FSDK.

https://github.com/Frankie-PellesC/fSDK

I must have missed the announcement but anyway Thank You for the FSDK GDI+ User Manual.

A monumental piece of work. Truly a tour de force.

frankie:
Hello Robert
Thanks
You're right There was no announcement. The manual has been realized many years ago, 2016, together with the 'fGdiPlusFlat.h' and posted on the forum (here).
Few days ago looking at my github pages I realized that the manual was missing and simply, and silently, added it.  :)
My SDK is getting old and would need some mainteinance and upgrade, but unfortunately I'm too busy to afford the job up to now  :(
I hope I could do it in the future.  :P

Navigation

[0] Message Index

[*] Previous page

Go to full version