Color > grayscale

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
Other Side
Posts: 1
Joined: Mon May 29, 2017 10:34 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Color > grayscale

Postby Other Side » Mon May 29, 2017 11:36 am

Hi! I try to convert full-colored RGB (or YBR) file to grayscale with help of your NativeJpeg library. And got worst result.

I try to do it with with code:
JpegImg: TsdJpegImage;

JpegImg.LoadFromFile(JpegImgName);
JpegImg.LoadJpeg(jsFull, True);
JpegImg.BitmapCS := jcGray;
JpegImg.SaveJpeg;
ColorSpace := jcGray;

Tell me please how can I do it?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1107: count(): Parameter must be an array or an object that implements Countable

Return to “NativeJpg”

Who is online

Users browsing this forum: No registered users and 1 guest