pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: square pdfbox ikvm
Date Tue, 06 Jun 2017 08:48:14 GMT
hi tilman ok thank you

looks like some limitation for PDPixelMap probably

i did a conversion from svg to png and the byte array output results in
blank when pdf is generated.

PDXObjectImage imageSig = new PDPixelMap(new PDStream(pdfDocument, new
ByteArrayInputStream(byteArray)));

the byte array is correct since it gets outputted correctly in java pdfbox
2+

On Tue, Jun 6, 2017 at 2:22 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 06.06.2017 um 01:47 schrieb chitgoks:
>
>> hi
>>
>> has anyone used the .net version of pdfbox 1.8.9?
>>
>> would like to ask about creating a rubber stamp how you did it
>>
>> because the .net version relies heavily still on java classes and in this
>> case, it needs a bufferedimage and i have no idea how to do this. if this
>> was 2.0+ it would have been no problem, i was able to use LosslessFactory
>> to get a BufferedImage
>>
>> thanks
>>
>> The class similar to LosslessFactory in 1.8 is PDPixelMap.
>
> There is a RubberStampWithImage.java example in the source code download.
>
> Tilman
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message