PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) Troubleshooting Watermark image doesn’t accept java protocol

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27102

    Hi,
    the watermark image is not loaded like standard resources :
    – it doesn’t use the custom org.zefer.cache.ResourceProvider
    – it doesn’t support the java: protocol

    Sample code:

    PD4PageMark header = new PD4PageMark();
    header.setWatermark( “java:img/draft.gif”, new Rectangle(10,10,120,25), 50 );

    Error on console:
    invalid watermark image URL: java:img/draft.gif

    #29938

    We’ve reproduced the issue and already fixed in the dev build.

    A new maintenance version will be published next days (after QA is finally passed)

    #29939

    Thanks it is working

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.