Skip to content

Instantly share code, notes, and snippets.

View artemious7's full-sized avatar

Artem artemious7

  • London, UK
  • 03:31 (UTC)
View GitHub Profile
@stefanplindner
stefanplindner / PDFDecoder.java
Created May 17, 2016 12:06
PDFRenderer for subsampling-scale-image-view
/**
* Decodes and renders a {@link PdfRenderer.Page} into a {@link Bitmap}
* Created by Lindner Stefan on 03.05.16.
*/
@SuppressLint("NewApi")
public class PDFDecoder implements ImageDecoder {
private float scale;
/**