RadaeePDF.com :: Topic: DIB render to bitmap RGB_565 (1/2)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Submit your requests and polls about new features
  • Page:
  • 1
  • 2

TOPIC: DIB render to bitmap RGB_565

DIB render to bitmap RGB_565 2 years 4 months ago #8576

  • caste1969
  • caste1969's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
There is a way to render a DIB over a 565 format bitmap, instand of ARGB format?
Many thanks.
Caste
The administrator has disabled public write access.

DIB render to bitmap RGB_565 2 years 4 months ago #8608

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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
Last Edit: 2 years 4 months ago by radaee.
The administrator has disabled public write access.

DIB render to bitmap RGB_565 2 years 4 months ago #8638

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 663
  • Thank you received: 43
  • Karma: 12
Hi,
please check the new beta version!
The administrator has disabled public write access.

DIB render to bitmap RGB_565 2 years 4 months ago #8646

  • caste1969
  • caste1969's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 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
The administrator has disabled public write access.

DIB render to bitmap RGB_565 2 years 4 months ago #8647

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 656
  • Thank you received: 37
  • Karma: 17
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?
The administrator has disabled public write access.

DIB render to bitmap RGB_565 2 years 4 months ago #8654

  • caste1969
  • caste1969's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 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.
Last Edit: 2 years 4 months ago by caste1969.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Powered by Kunena Forum