• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wemore
V2EX  ›  程序员

怎么样实现 ps 的两个图层放大缩小而相对位置不变?

  •  
  •   wemore · Mar 19, 2018 · 5151 views
    This topic created in 3008 days ago, the information mentioned may be changed or developed.

    如果考虑用比率缩放并改变位置的话,小数强转整数会丢失精度。 求诸位大佬给个思路 QAQ

    6 replies    2018-03-20 16:40:01 +08:00
    yomiko123
        1
    yomiko123  
       Mar 19, 2018
    选中两个图层,Ctrl+T
    wemore
        2
    wemore  
    OP
       Mar 19, 2018 via Android
    @yomiko123 我是自己做软件实现这个功能
    BadCat
        3
    BadCat  
       Mar 20, 2018
    @wemore 等比缩放? 获取图片,根据根据设定的大按比例缩小 /放大图片
    maplerecall
        4
    maplerecall  
       Mar 20, 2018 via Android
    ps 的话这类操作是有子像素处理的,并不会丢失精度
    davin
        5
    davin  
       Mar 20, 2018   ❤️ 1
    楼主说的是这样缩放么?
    ![transformeach2]( http://blog.darkwark.com/images/transformeach2/aPoint-example.gif)
    Transform Each 2.0 兼容 Adobe Photoshop CS5, CS6, CC:
    http://blog.darkwark.com/transformEach2/
    wemore
        6
    wemore  
    OP
       Mar 20, 2018
    @davin 缩放保证两个图片的相对位置不变,和你的链接内容还不太一样。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 14:07 · PVG 22:07 · LAX 07:07 · JFK 10:07
    ♥ Do have faith in what you're doing.