Skip to content

Instantly share code, notes, and snippets.

View stefanplindner's full-sized avatar

Stefan stefanplindner

  • Augsburg
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;
/**