正在查看 13 个帖子:1-13 (共 13 个帖子)
  • 作者
    帖子
  • @68664 回复

    嘿岛
    游客

    大家好,福尔曼的中国摄影集 Harrison Forman 网站更新了几千张1973珍贵的彩色照片包括北京、南京、苏州等地,可以更新到词条。

    collections.lib.uwm.edu/digit...nn/and!and

    顺便问个问题,有没有大神指教下,用什么软件可以实现,PDF里面每张照片都有书签标注,如何批量导出图片并用书签标注自动命名文件呢?

    @68665 回复

    xiaopengyou
    游客

    未曾先生不是發佈過?

    new.shuge.org/view/...ollection/

    @68668 回复

    嘿岛
    游客

    @xiaopengyou #68665

    之前发布只有5-6个城市有彩色照片,最近搜索发现新更新了其他很多个城市的彩色照片

    @68669 回复

    xiaopengyou
    游客

    @嘿岛 #68668

    哦,那就給時間,未曾先生會補充發佈的,哈哈

    @68692 回复

    Lunar
    游客

    抛砖引玉
    pdftk: www.pdflabs.com/tools...f-toolkit/ : 提取书签
    +
    poppler: poppler.freedesktop.org/ : 批量导出图片
    任意脚本语言组合起来 理论上可以实现楼主的需求

    @68694 回复

    未曾
    管理员

    @嘿岛 #68664

    我们发布的JPG高清(原大)图片压缩包的图片文件名就是按照书签 命名的(如果书签特别长的例外)

    PDF内并非原大图

    @68720 回复

    嘿岛
    游客

    @Lunar #68692

    前面两步都还好,任意脚本语言组合起来——这个正是要请教书友的盲点。

    @68721 回复

    嘿岛
    游客

    @未曾 #68694

    我在弄的是甘博的摄影集,挺早的,之前好像都只有PDF格式,想导出图片整理,按城市归类。

    @68782 回复

    Lunar
    游客

    晚生起个头 细节上前辈再自行考究
    Tools:
    Powershell (Windows builtin)
    pdftk | www.pdflabs.com/tools...f-toolkit/
    poppler | poppler.freedesktop.org/
    ripgrep | github.com/Burnt...hi/ripgrep
    How:
    $bookname = gci "123.pdf"
    $bname = $bookname.basename
    $fdbh=pdftk $bookname dump_data_utf8 | rg -NU '^BookmarkTitle:\s*(.+)\r?\nBookmarkLevel:\s*\d+\r?\nBookmarkPageNumber:\s*(\d+)' -or '${2}=$1' | ConvertFrom-StringData
    pdfimages.exe -p -all -f 1 -l 5 $bookname $bname
    gci $bname-*-* | % { $pagenumber = $_.BaseName -replace "$bname-0*|-\d+$" ; $pagename = $($fdbh.$pagenumber).Split([IO.Path]::GetInvalidFileNameChars()) -join '?' ; $fuffix = $_.Name -replace '^.+\.' ; Rename-Item $_ -NewName "$bname-$pagenumber-$pagename.$fuffix"}
    Results:
    123-1-An album mainly of landscape photographs of China.jpg
    123-2-Afong Lai?Afong Lai?Gemmy Damsel's Mirror-stand Peak near Sing Chang Tea Mart.jpg
    123-3-Four Chinese men in costume?Four Chinese men in costume.jpg
    123-4-View of Island Temple.Foochow?View of Island Temple.Foochow.jpg
    ...

    @68784 回复

    Lunar
    游客

    修正:
    pdfimages.exe -p -all -f 1 -l 5 $bookname $bname # 测试用

    pdfimages.exe -p -all $bookname $bname

    @68852 回复

    嘿岛
    游客

    @Lunar #68782

    不是啥前辈哈哈,pdftk 和poppler 看了好像挺复杂,我导出xml书签用了福昕,导jpg图片用Adobe

    然后ripgrep下载了不知道那个是应用程序来输入这些命令行,代码菜鸡哈哈

    再看了代码好像不是先导出书签和图片?好像ripgrep调用了ripgrep,但是没提到poppler,好难啊

    @69225 回复

    Lunar
    游客

    2022-11-29
    目前有关 china 的静态图片检索显示有 14004 张 经抓取去重有链接 13993 个 缺失的 11 张 状态未知

    提供 iiif 的有 12045 张 仅提供 jpeg 的有 1948 张

    iiif: png 格式下载 占用空间 接近 300 GB
    tif: 未经压缩超过 1 TB 压缩后与 png 大小差异在20%

    Forman20221129.7z 含 metadata
    www57.zippyshare.com/v/uCb.../file.html
    Size: 1048 KiB
    SHA256: 15A20CBB9ADF745EF04E355A776851F3BC9532918EB21B994C31C7F972A6C265

    在线文件可能失效 下面是链接 在未先生未集中处理之前 供感兴趣者参考

    由于链接过多 如需下载 请将 ... 进一步展开为 其上下链接中数字等差为 1 的序列 如:
    catw/633
    。。。
    catw/629
    展开为
    catw/633
    catw/632
    catw/631
    catw/630
    catw/629

    @69227 回复

    Lunar
    游客

    jpeg :
    example: collections.lib.uwm.edu/digit.../size/full
    agsphoto/id/52211/size/full
    。。。
    agsphoto/id/52209/size/full
    agsphoto/id/52207/size/full
    。。。
    agsphoto/id/52204/size/full
    agsphoto/id/52202/size/full
    agsphoto/id/52198/size/full
    。。。
    agsphoto/id/52196/size/full
    agsphoto/id/52193/size/full
    。。。
    agsphoto/id/52190/size/full
    agsphoto/id/52187/size/full
    。。。
    agsphoto/id/52182/size/full
    。。。
    agsphoto/id/52177/size/full
    agsphoto/id/52175/size/full
    。。。
    agsphoto/id/52172/size/full
    agsphoto/id/52169/size/full
    agsphoto/id/52167/size/full
    agsphoto/id/52164/size/full
    。。。
    agsphoto/id/52159/size/full
    。。。
    agsphoto/id/52155/size/full
    agsphoto/id/52147/size/full
    agsphoto/id/52143/size/full
    。。。
    agsphoto/id/52140/size/full
    agsphoto/id/52137/size/full
    。。。
    agsphoto/id/52132/size/full
    agsphoto/id/52130/size/full
    。。。
    agsphoto/id/52127/size/full
    agsphoto/id/52124/size/full
    。。。
    agsphoto/id/52121/size/full
    agsphoto/id/52119/size/full
    。。。
    agsphoto/id/52116/size/full
    。。。
    agsphoto/id/52113/size/full
    。。。
    agsphoto/id/52105/size/full
    agsphoto/id/52103/size/full
    。。。
    agsphoto/id/52098/size/full
    。。。
    agsphoto/id/52094/size/full
    。。。
    agsphoto/id/52089/size/full
    agsphoto/id/52087/size/full
    agsphoto/id/52085/size/full
    agsphoto/id/52082/size/full
    agsphoto/id/52078/size/full
    。。。
    agsphoto/id/52074/size/full
    agsphoto/id/52072/size/full
    。。。
    agsphoto/id/52069/size/full
    。。。
    agsphoto/id/52065/size/full
    agsphoto/id/52059/size/full
    agsphoto/id/52057/size/full
    。。。
    agsphoto/id/52053/size/full
    agsphoto/id/52050/size/full
    。。。
    agsphoto/id/52046/size/full
    agsphoto/id/52044/size/full
    。。。
    agsphoto/id/52041/size/full
    agsphoto/id/52039/size/full
    agsphoto/id/52036/size/full
    。。。
    agsphoto/id/52032/size/full
    。。。
    agsphoto/id/52028/size/full
    。。。
    agsphoto/id/52025/size/full
    。。。
    agsphoto/id/52021/size/full
    agsphoto/id/52019/size/full
    agsphoto/id/52014/size/full
    agsphoto/id/52012/size/full
    agsphoto/id/52010/size/full
    。。。
    agsphoto/id/52007/size/full
    。。。
    agsphoto/id/52003/size/full
    agsphoto/id/52000/size/full
    agsphoto/id/51998/size/full
    。。。
    agsphoto/id/51995/size/full
    agsphoto/id/51993/size/full
    agsphoto/id/51991/size/full
    agsphoto/id/51988/size/full
    agsphoto/id/51985/size/full
    。。。
    agsphoto/id/51982/size/full
    agsphoto/id/51979/size/full
    agsphoto/id/51975/size/full
    。。。
    agsphoto/id/51972/size/full
    。。。
    agsphoto/id/51970/size/full
    agsphoto/id/51968/size/full
    agsphoto/id/51966/size/full
    agsphoto/id/51962/size/full
    。。。
    agsphoto/id/51959/size/full
    。。。
    agsphoto/id/51957/size/full
    agsphoto/id/51955/size/full
    agsphoto/id/51952/size/full
    。。。
    agsphoto/id/51949/size/full
    agsphoto/id/51947/size/full
    agsphoto/id/51944/size/full
    。。。
    agsphoto/id/51942/size/full
    agsphoto/id/51940/size/full
    agsphoto/id/51938/size/full
    agsphoto/id/51935/size/full
    。。。
    agsphoto/id/51932/size/full
    。。。
    agsphoto/id/51929/size/full
    agsphoto/id/51926/size/full
    agsphoto/id/51923/size/full
    。。。
    agsphoto/id/51920/size/full
    agsphoto/id/51918/size/full
    agsphoto/id/51916/size/full
    agsphoto/id/51914/size/full
    。。。
    agsphoto/id/51912/size/full
    agsphoto/id/51910/size/full
    。。。
    agsphoto/id/51906/size/full
    agsphoto/id/51901/size/full
    agsphoto/id/51897/size/full
    。。。
    agsphoto/id/51894/size/full
    。。。
    agsphoto/id/51891/size/full
    agsphoto/id/51888/size/full
    agsphoto/id/51886/size/full
    agsphoto/id/51883/size/full
    agsphoto/id/51881/size/full
    。。。
    agsphoto/id/51879/size/full
    agsphoto/id/51877/size/full
    agsphoto/id/51874/size/full
    。。。
    agsphoto/id/51871/size/full
    。。。
    agsphoto/id/51867/size/full
    。。。
    agsphoto/id/51864/size/full
    agsphoto/id/51861/size/full
    。。。
    agsphoto/id/51857/size/full
    agsphoto/id/51855/size/full
    。。。
    agsphoto/id/51853/size/full
    agsphoto/id/51850/size/full
    agsphoto/id/51847/size/full
    。。。
    agsphoto/id/51843/size/full
    agsphoto/id/51840/size/full
    。。。
    agsphoto/id/51836/size/full
    agsphoto/id/51833/size/full
    。。。
    agsphoto/id/51831/size/full
    agsphoto/id/51829/size/full
    agsphoto/id/51827/size/full
    agsphoto/id/51823/size/full
    。。。
    agsphoto/id/51820/size/full
    agsphoto/id/51818/size/full
    agsphoto/id/51816/size/full
    。。。
    agsphoto/id/51813/size/full
    agsphoto/id/51808/size/full
    。。。
    agsphoto/id/51805/size/full
    agsphoto/id/51803/size/full
    agsphoto/id/51801/size/full
    。。。
    agsphoto/id/51798/size/full
    agsphoto/id/51796/size/full
    。。。
    agsphoto/id/51792/size/full
    。。。
    agsphoto/id/51786/size/full
    agsphoto/id/51783/size/full
    agsphoto/id/51778/size/full
    。。。
    agsphoto/id/51776/size/full
    agsphoto/id/51774/size/full
    。。。
    agsphoto/id/51771/size/full
    agsphoto/id/51769/size/full
    agsphoto/id/51765/size/full
    。。。
    agsphoto/id/51763/size/full
    agsphoto/id/51759/size/full
    agsphoto/id/51757/size/full
    agsphoto/id/51755/size/full
    agsphoto/id/51753/size/full
    agsphoto/id/51751/size/full
    。。。
    agsphoto/id/51747/size/full
    agsphoto/id/51745/size/full
    。。。
    agsphoto/id/51742/size/full
    。。。
    agsphoto/id/51740/size/full
    agsphoto/id/51738/size/full
    。。。
    agsphoto/id/51736/size/full
    agsphoto/id/51734/size/full
    agsphoto/id/51730/size/full
    agsphoto/id/51727/size/full
    agsphoto/id/51724/size/full
    agsphoto/id/51722/size/full
    。。。
    agsphoto/id/51719/size/full
    agsphoto/id/51717/size/full
    。。。
    agsphoto/id/51714/size/full
    。。。
    agsphoto/id/51711/size/full
    。。。
    agsphoto/id/51708/size/full
    agsphoto/id/51706/size/full
    agsphoto/id/51703/size/full
    。。。
    agsphoto/id/51701/size/full
    agsphoto/id/51698/size/full
    。。。
    agsphoto/id/51693/size/full
    agsphoto/id/51689/size/full
    。。。
    agsphoto/id/51682/size/full
    agsphoto/id/51674/size/full
    agsphoto/id/51670/size/full
    。。。
    agsphoto/id/51667/size/full
    agsphoto/id/51665/size/full
    。。。
    agsphoto/id/51662/size/full
    agsphoto/id/51658/size/full
    。。。
    agsphoto/id/51656/size/full
    agsphoto/id/51654/size/full
    agsphoto/id/51652/size/full
    。。。
    agsphoto/id/51650/size/full
    agsphoto/id/51648/size/full
    。。。
    agsphoto/id/51645/size/full
    。。。
    agsphoto/id/51642/size/full
    agsphoto/id/51640/size/full
    。。。
    agsphoto/id/51637/size/full
    agsphoto/id/51635/size/full
    agsphoto/id/51632/size/full
    。。。
    agsphoto/id/51627/size/full
    agsphoto/id/51625/size/full
    agsphoto/id/51623/size/full
    。。。
    agsphoto/id/51621/size/full
    agsphoto/id/51619/size/full
    agsphoto/id/51616/size/full
    。。。
    agsphoto/id/51613/size/full
    。。。
    agsphoto/id/51609/size/full
    agsphoto/id/51604/size/full
    agsphoto/id/51602/size/full
    agsphoto/id/51600/size/full
    agsphoto/id/51598/size/full
    agsphoto/id/51595/size/full
    agsphoto/id/51593/size/full
    agsphoto/id/51591/size/full
    。。。
    agsphoto/id/51588/size/full
    agsphoto/id/51586/size/full
    。。。
    agsphoto/id/51582/size/full
    agsphoto/id/51579/size/full
    。。。
    agsphoto/id/51576/size/full
    agsphoto/id/51573/size/full
    agsphoto/id/51567/size/full
    agsphoto/id/51565/size/full
    。。。
    agsphoto/id/51563/size/full
    agsphoto/id/51561/size/full
    。。。
    agsphoto/id/51557/size/full
    agsphoto/id/51555/size/full
    agsphoto/id/51553/size/full
    agsphoto/id/51549/size/full
    agsphoto/id/51547/size/full
    。。。
    agsphoto/id/51545/size/full
    agsphoto/id/51542/size/full
    agsphoto/id/51539/size/full
    agsphoto/id/51536/size/full
    agsphoto/id/51533/size/full
    。。。
    agsphoto/id/51526/size/full
    agsphoto/id/51524/size/full
    。。。
    agsphoto/id/51521/size/full
    。。。
    agsphoto/id/51518/size/full
    agsphoto/id/51513/size/full
    agsphoto/id/51510/size/full
    。。。
    agsphoto/id/51507/size/full
    agsphoto/id/51505/size/full
    。。。
    agsphoto/id/51498/size/full
    agsphoto/id/51495/size/full
    。。。
    agsphoto/id/51492/size/full
    。。。
    agsphoto/id/51488/size/full
    agsphoto/id/51484/size/full
    agsphoto/id/51482/size/full
    agsphoto/id/51479/size/full
    。。。
    agsphoto/id/51476/size/full
    。。。
    agsphoto/id/51473/size/full
    agsphoto/id/51471/size/full
    agsphoto/id/51467/size/full
    。。。
    agsphoto/id/51464/size/full
    agsphoto/id/51461/size/full
    agsphoto/id/51459/size/full
    。。。
    agsphoto/id/51456/size/full
    agsphoto/id/51453/size/full
    。。。
    agsphoto/id/51451/size/full
    agsphoto/id/51449/size/full
    。。。
    agsphoto/id/51447/size/full
    agsphoto/id/51445/size/full
    。。。
    agsphoto/id/51439/size/full
    agsphoto/id/51437/size/full
    agsphoto/id/51433/size/full
    agsphoto/id/51431/size/full
    agsphoto/id/51429/size/full
    。。。
    agsphoto/id/51426/size/full
    agsphoto/id/51424/size/full
    。。。
    agsphoto/id/51420/size/full
    。。。
    agsphoto/id/51416/size/full
    。。。
    agsphoto/id/51412/size/full
    。。。
    agsphoto/id/51409/size/full
    。。。
    agsphoto/id/51405/size/full
    agsphoto/id/51402/size/full
    agsphoto/id/51399/size/full
    。。。
    agsphoto/id/51397/size/full
    agsphoto/id/51393/size/full
    。。。
    agsphoto/id/51391/size/full
    agsphoto/id/51389/size/full
    agsphoto/id/51387/size/full
    agsphoto/id/51384/size/full
    。。。
    agsphoto/id/51380/size/full
    。。。
    agsphoto/id/51374/size/full
    agsphoto/id/51369/size/full
    。。。
    agsphoto/id/51363/size/full
    agsphoto/id/51361/size/full
    。。。
    agsphoto/id/51359/size/full
    agsphoto/id/51357/size/full
    。。。
    agsphoto/id/51354/size/full
    agsphoto/id/51349/size/full
    agsphoto/id/51347/size/full
    agsphoto/id/51344/size/full
    。。。
    agsphoto/id/51342/size/full
    agsphoto/id/51340/size/full
    。。。
    agsphoto/id/51336/size/full
    agsphoto/id/51334/size/full
    。。。
    agsphoto/id/51332/size/full
    agsphoto/id/51328/size/full
    。。。
    agsphoto/id/51319/size/full
    agsphoto/id/51317/size/full
    。。。
    agsphoto/id/51255/size/full
    agsphoto/id/51253/size/full
    。。。
    agsphoto/id/51229/size/full
    agsphoto/id/51227/size/full
    。。。
    agsphoto/id/51184/size/full
    agsphoto/id/51182/size/full
    。。。
    agsphoto/id/51169/size/full
    agsphoto/id/51167/size/full
    。。。
    agsphoto/id/51162/size/full
    agsphoto/id/51160/size/full
    。。。
    agsphoto/id/51158/size/full
    agsphoto/id/51156/size/full
    。。。
    agsphoto/id/51145/size/full
    agsphoto/id/51143/size/full
    。。。
    agsphoto/id/51106/size/full
    agsphoto/id/51104/size/full
    。。。
    agsphoto/id/51083/size/full
    agsphoto/id/51081/size/full
    。。。
    agsphoto/id/51030/size/full
    agsphoto/id/51028/size/full
    。。。
    agsphoto/id/51023/size/full
    agsphoto/id/51021/size/full
    agsphoto/id/51019/size/full
    。。。
    agsphoto/id/50995/size/full
    tibet/id/1273/size/full
    。。。
    tibet/id/1267/size/full
    tibet/id/1262/size/full
    。。。
    tibet/id/877/size/full
    tibet/id/875/size/full
    。。。
    tibet/id/754/size/full
    tibet/id/752/size/full
    。。。
    tibet/id/708/size/full
    tibet/id/706/size/full
    。。。
    tibet/id/480/size/full
    tibet/id/473/size/full
    。。。
    tibet/id/462/size/full
    tibet/id/460/size/full
    。。。
    tibet/id/448/size/full
    tibet/id/446/size/full
    。。。
    tibet/id/441/size/full
    tibet/id/438/size/full
    。。。
    tibet/id/355/size/full
    tibet/id/352/size/full
    。。。
    tibet/id/346/size/full
    tibet/id/344/size/full
    。。。
    tibet/id/333/size/full
    tibet/id/331/size/full
    。。。
    tibet/id/288/size/full
    tibet/id/286/size/full
    。。。
    tibet/id/176/size/full
    tibet/id/65/size/full
    。。。
    tibet/id/22/size/full
    tibet/id/20/size/full
    。。。
    tibet/id/11/size/full
    tibet/id/9/size/full
    。。。
    tibet/id/6/size/full
    tibet/id/5/size/full

正在查看 13 个帖子:1-13 (共 13 个帖子)
正在查看 13 个帖子:1-13 (共 13 个帖子)

上传图片

拖拽或点击选择图片

回复至:哈里森·福尔曼 Harrison Forman
您的信息:



初次发帖前:建议先阅读