create or replace procedure TextStamp_test is l_blob_30 blob; l_blob_112 blob; l_color plpdf_toolkit.t_color; begin select t.blob_file into l_blob_30 from store_blob_tk t where t.filename = '00_ReadMe.pdf'; dbms_lob.createtemporary(l_blob_112,TRUE); -- Turquoise 64,224,208 l_color.r := 64; l_color.g := 224; l_color.b := 208; l_blob_112 := plpdf_toolkit.TextStamp( p_inputfile => l_blob_30, p_message => 'PLPDF Text', p_x => 200, p_y => 400, p_font => plpdf_toolkit.helvetica_bold, p_fontSize => 40, p_color => l_color ); delete from store_blob_tk where id = 112; insert into store_blob_tk (id,blob_file,filename,desctext) values (112,l_blob_112,'TextStamp.pdf','id:30 TextStamp'); commit; end; /