pdfmake icon indicating copy to clipboard operation
pdfmake copied to clipboard

Add support for inline images

Open Ondama opened this issue 7 years ago • 9 comments

This is related to #358

The result is this: fluid-layout.pdf

The source is:

const docDefinition = {
    pageSize: 'A4',
    pageMargins: [24, 25, 24, 23],
    content: [
        {text: ['hello', {image: 'smile'}, {text: 'world', style: 'em'}]}
    ],
    styles: {
        em: {bold: true}
    },
    images
}

Ondama avatar Feb 17 '18 01:02 Ondama

Any update on it?

danielpassos avatar Sep 11 '19 13:09 danielpassos

Will this allow inline svg as well?

zahrafali avatar Jan 14 '20 16:01 zahrafali

bump this would be great!

th3impal3r avatar Jan 28 '20 23:01 th3impal3r

Hi. We would need this feature. It is pretty basic feature in document editing.

Why is this PR waiting more than 2 years? Is this lib maintained at all?

miroslavvojtus avatar Aug 06 '20 06:08 miroslavvojtus

@liborm85 ping

thecodrr avatar Jul 09 '21 05:07 thecodrr

Can't wait for this!

Qiric avatar Nov 15 '21 20:11 Qiric

@Ondama You don't happen to have your past solution ported over to a more recent version of pdfmake do you?

Qiric avatar Nov 16 '21 19:11 Qiric

@liborm85 please check it out :)

laukacka avatar Nov 30 '21 12:11 laukacka

thank you so much. this still works as of today

DavMem avatar Aug 28 '24 15:08 DavMem