Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

AddAnnotationBitmap to page

More
IP: 192.168.0.71 12 years 3 months ago #6366 by manderin87
The colors of the bitmap when added as an annotation are darker that they should be? Does the annotation method change the color information when adding the bitmap?
More
IP: 192.168.0.71 12 years 3 months ago #6368 by radaee
Replied by radaee on topic AddAnnotationBitmap to page
has the image alpha channel? and background of page are black?
More
IP: 192.168.0.71 12 years 3 months ago #6369 by manderin87
The image does have an alpha channel, the background is not black. I create a bitmap, draw on it through a surface view, and add the bitmap to the page. When the page rerenders, the colors are darker than they were on the surface view.
More
IP: 192.168.0.71 12 years 3 months ago #6380 by manderin87
This is a screen shot of the surfaceview bitmap.



This is a screen shot of the bitmap added as an annotation. Notice the colors are darker and that weird gray blob randomly shows up each time the bitmap is placed.



Any ideas on how to fix this?

thanks
More
IP: 192.168.0.71 12 years 3 months ago #6383 by radaee
Replied by radaee on topic AddAnnotationBitmap to page
may you save Bitmap object as PNG file, and check it?
More
IP: 192.168.0.71 12 years 3 months ago #6411 by manderin87
The bitmap is now saving to the file system correctly, when I add the bitmap to the pdf its too big. I tried using the code for the matrix in a previous post, but PDFReader has no PDFGetView. Do i need to create the method?
Time to create page: 0.459 seconds
Powered by Kunena Forum