El vie, 20-03-2015 a las 18:29 +0800, green.4984 escribió:
> 
> hi all,

Hi,

>      Thanks for your reading, I am doing some work about using webkitwebview 
> load with pic and pdf.

Could you provide the HTML contents?

>      It works fine when the url is point to pic, like jpg, I use 
> webkit_web_resource_get_data. But when I do with the same method use the url 
> of pdf, it get data length is 0.

Hmm, I guess that's because the PDF is handled by a plugin. It sounds
like a bug, could please file a bug report in bugs.webkit.org?

>       Is there any difference?

Yes, PDFs are handled by NPAPI plugins, while jpeg images are handled
directly by WebKit.

>  I know the webkit has the function to download uri directly, but it may 
> takes some disk space.

Hmm, webkit_download_set_destination_stream() could be a good
addition :-)

>        Thanks anyway! have a good weekend.: )

What WebKitGTK+ version are you using, btw?


Regards, 
-- 
Carlos Garcia Campos
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to