1. Aliaksandr Zhukau
  2. PowerBuilder
  3. Thursday, 11 July 2024 07:53 AM UTC

Hi,

The image file with color depth 32 bit inside Data Window is displayed totally incorrectly. (Appeon registered this issue for future enhancement) 
So d
oes anyone know any command line tool/method that can convert image (without loosing color appearance) to format (color depth) supported by DW?
I tried ImageMagick with different options, but the best result that I got, have a bit different color then in the original image.

here is what I tried:
"magick.exe" "Original\img.jpg" -define quantum:format=floating-point -colorspace sRGB -depth 8 -type truecolor "converted\img.jpg"



Thanks in advance!
Andreas Mykonios Accepted Answer Pending Moderation
  1. Thursday, 11 July 2024 08:07 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

It'is normal to have different output when using Image Magick (or whatever software) to reduce color depth. You are trying to reduce colors. Are you changing from 32-bit to 16-bit? Your new image won't support the same color depth.

As you don't mention the output color depth, you may try to use 24-bit. Don't know what will be the output in PB. Also, if there is transparency information in the original, you will probably still have differences in produced output.

Andreas.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.