RadaeePDF.com :: Topic: A little bug in color of annotations? (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: A little bug in color of annotations?

A little bug in color of annotations? 2 years 11 months ago #6936

Hi,
I have a little issue with colors of annotations. Suppose these steps:

1) Add some annotation to document
2) Set fill color for this annotation to 0xFFFFFF01.
3) Call GetFillColor on this annotation. The returned value is 0xFFFFFF00.

The color values are different. For other colors (e.g. 0xFFFF0000) is works fine), but exactly for color 0xFFFFFF01 it does not work fine.
Is this some bug in your library?

Thanks in advance.
The administrator has disabled public write access.

A little bug in color of annotations? 2 years 11 months ago #6938

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
in PDF file, color value saved as float values.
and SDK using int values, convert to float is (1.0/255)
and get color may loss small float point value by int type convertion.
The administrator has disabled public write access.
The following user(s) said Thank You: sanyu erisa
Powered by Kunena Forum