Is it possible to view a pdf image on android imageview - android

Hello I am looking at a type of drawing application that views images and would like to mark them up. Now I can load regular jpg and pngs, but our client has images in a pdf file. I am wondering if there is a way to display these on an image view in android.

Related

Load 8000px png drawable Android Scrollable Image

I am really trying to figure out which is the best way of loading a huge image in Android ImageView( or some other view extending ImageView).
I am aware of OOM issues with Android framework when working with bitmaps but still I need to implement the following requests:
horizontal scrollable imageview
must load a huge 8000px (keeping original image quality so no downsample) width and device height png image from drawble-nodpi in it and to be fluent while scrolling it without preloads or lag(recyclerview will have blinks so it is a no go I tried that)
I am thinking at a customview extending imageview and something to decode only current scrolled region from that bitmap but I am stuck here
avoid oom
also does a pdf viewer library be better than using huge png from performance point of view? I need the picture preloaded on app start not lazy loaded

Android - Using Picasso in order to load an image for a game?

I have used both Picasso and Glide in order to load images asyncronously in grids with images coming from the phone's external memory and in order to download photos from the Internet.
But now for my Android game in the first screen I need to display an image below a title (the image takes up all available height). Then the user taps on a specific part of the image and the game starts.
The image content is a drawable resource.
So, for this specific use (a TextView and an ImageView below it which takes up all the remaining space), what should I do:
-Specify the image as ImageView's src property.
-Use an image loading library, such as Picasso or Glide
What do you suggest and why?
Thank you.
EDIT: The image would be static, a static drawable resource.

Android: Embedding a compressed image inside a PDF document

How to embed a compressed image (e.g. PNG, JPEG, etc.) in an Android PdfDocument?
When writing the image into the Page's canvas, it is encoded as a bitmap, instead I'd like to embed the image compressed as it is.
I've just realised I can do this with iText:
itext images tutorial
Unfortunately, it does not allow to draw views in a canvas like the native PdfDocument class. So I need to create a PDF without images with PdfDocument and put a placeholder for such images. Then I need to open the pdf file with iText and append the images at the placeholders' location.

Handling Multiple images in svg image Android

I am working on a simple app in SDK Android and i have the follwing problem:
I have already converted my png. images in SVG and now i want to make them interract.
The problem is that the whole image is made up from other images or text fields etc.
So, as i have saved it in .svg format i want to find a way to handle for example the button, when clicked, that exists at the center of my photo, the scroll bar at the bottom, when clicked etc in order to go to another svg image. I don't know how i could handle them seperately, as i save the whole image as svg that contains all the above parts..
Thanks in advance

Android PDF page to image api

Is there any possible way to convert a pdf into image and show them on a image view?
PDF isn't made up of images, they're vectors.
Tcouple open-source java PDF to Image converters though like:
http://www.jpedal.org/
http://code.google.com/p/pdfonejava/

Categories

Resources