How to convert Image to PDF?
<p>I am developing an application where I need to convert an Image to PDF. I tried something, but the issue is, Image size in that PDF is very very small. I need solution to fix this. Also I am looking for converting multiple Images into single PDF document. 
I will post the code which I tried. </p>

<pre><code>    public void convertPDF(byte[] path)
{
 String FILE = "mnt/sdcard/FirstPdf.pdf";
    Document document=new Document();
    try {
        PdfWriter.getInstance(document, new FileOutputStream(FILE));
        document.open();

        try {
            image=Image.getInstance(path);
            document.add(new Paragraph("My Heading"));
            document.add(image);
            document.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    } catch (DocumentException e) {
        e.printStackTrace();
    } catch (FileNotFoundException e) {
        e.printStackTrace();
    }
}
</code></pre>

<p>When I convert Bitmap to Byte array, I am compressing the image and I guess, that's the reason. Without compressing the image, I am unable to convert Bitmap to Byte Array.</p>

<pre><code> ByteArrayOutputStream stream = new ByteArrayOutputStream();
        bmp.compress(Bitmap.CompressFormat.PNG,100,stream);
        byte[] byteArray=stream.toByteArray();
        convertPDF(byteArray);
</code></pre>

<p>Is there any solution for this? </p>

<p><strong>UPDATED</strong></p>

<p>Here I have implemented the answer which suggested by @Burak Cakir in the answer. But now I am getting larger image in PDF. For better understanding, Please find the images below. <a href="https://i.stack.imgur.com/djlO3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/djlO3.png" alt="enter image description here"></a></p>

<p>The actually Image is 
<a href="https://i.stack.imgur.com/Gaa6Q.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Gaa6Q.jpg" alt="enter image description here"></a></p>