Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Submit your requests and polls about new features
  • Page:
  • 1
  • 2

TOPIC:

DIB render to bitmap RGB_565 9 years 1 month ago #8576

  • caste1969
  • caste1969's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
There is a way to render a DIB over a 565 format bitmap, instand of ARGB format?
Many thanks.
Caste

Please Log in or Create an account to join the conversation.

DIB render to bitmap RGB_565 9 years 1 month ago #8608

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
a new version shall coming soon. which support ARGB_4444 and RGB_565.
but ARGB_8888 is always the fastest.
PDFView class not support to change options, just support for JNI interfaces. like Page.RenderToBmp

Please Log in or Create an account to join the conversation.

Last edit: by radaee.

DIB render to bitmap RGB_565 9 years 1 month ago #8638

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
please check the new beta version !

Please Log in or Create an account to join the conversation.

DIB render to bitmap RGB_565 9 years 1 month ago #8646

  • caste1969
  • caste1969's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi, thanks for this version.
.I use this demo libs in my app (that works with 3.3.14 libs) and it trap with this error:
03-08 21:47:24.267 10055-10359/com.hit.DEPublicationManager E/dalvikvm﹕ JNI ERROR (app bug): attempt to use stale local reference 0x1d400005
03-08 21:47:24.267 10055-10359/com.hit.DEPublicationManager E/dalvikvm﹕ VM aborting
03-08 21:47:24.267 10055-10359/com.hit.DEPublicationManager A/libc﹕ Fatal signal 6 (SIGABRT) at 0x00002747 (code=-6), thread 10359 (AsyncTask #1)
My company now are developing a pdf reader for a newspaper and is interested in your library.
During my test I notice there are some error in your library in rendering some pdf.:
1) DIB render to bitmap a first line with white color near an image in pdf.
2) some advertising are not render correctly.
Can you give you details of this problems?
Thanks

Please Log in or Create an account to join the conversation.

DIB render to bitmap RGB_565 9 years 1 month ago #8647

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
First, for the render to bitmap RGB_565, you need to use the libs from the beta version, not 3.3.14 (3.3.14 does not support this feature).

Second, can you send the pdf that is causing these problems?

Please Log in or Create an account to join the conversation.

DIB render to bitmap RGB_565 9 years 1 month ago #8654

  • caste1969
  • caste1969's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Thanks, there was a misunderstanding,
My project work correctly with 3.3.14. When in the same project I replace the lib with the beta version the same program trap, even I use ARGB_8888.
In attachment there is the pdf.
1) advertise.pdf, where the photo will not raster correctly.
2) photo.pdf. The photo show in attachted jpg is render with 2 white line.
The problem can be reproduced using PdfCropAct example with zoom=2 with photo.pdf.

Please Log in or Create an account to join the conversation.

Last edit: by caste1969.
  • Page:
  • 1
  • 2
Powered by Kunena Forum