{"id":26,"date":"2026-09-26T14:27:42","date_gmt":"2026-09-26T14:27:42","guid":{"rendered":"https:\/\/bsolution.me\/zh\/flip-image\/"},"modified":"2026-09-27T07:17:35","modified_gmt":"2026-09-27T07:17:35","slug":"flip-image","status":"publish","type":"page","link":"https:\/\/bsolution.me\/zh\/flip-image\/","title":{"rendered":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177"},"content":{"rendered":"\n<title>\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c<\/title>\n<meta name=\"description\" content=\"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002\">\n\n<style>\n:root { --bg-color: #f8fafc; --text-color: #334155; --card-bg: #ffffff; --border-color: #e2e8f0; --accent: #3b82f6; --accent-hover: #2563eb; }\n.dark-theme { --bg-color: #0f172a; --text-color: #f1f5f9; --card-bg: #1e293b; --border-color: #334155; --accent: #60a5fa; --accent-hover: #3b82f6; }\n.futur-layout { background-color: var(--bg-color); color: var(--text-color); font-family: 'Heebo', sans-serif; transition: all 0.3s ease; padding: 20px; box-sizing: border-box; }\n.theme-toggle-wrap { display: flex; justify-content: flex-end; margin-bottom: 20px; }\n.theme-btn { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: 0.2s; font-family: 'Heebo', sans-serif; }\n.theme-btn:hover { border-color: var(--accent); }\nheader { text-align: center; margin-bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }\nh1.main-title { margin: 0; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 900; color: #1a1a1a; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: center; gap: 12px; }\n.dark-theme h1.main-title { color: #ffffff; }\n.subtitle { margin: 0; color: #64748b; font-size: 1.1rem; line-height: 1.6; max-width: 650px; }\n.dark-theme .subtitle { color: #94a3b8; }\n.free-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #ffffff; border: 1px solid #e2e8f0; color: #334155; font-size: 0.9rem; font-weight: 500; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); margin-top: 4px; }\n.dark-theme .free-badge { background: #1e293b; border-color: #334155; color: #f8fafc; }\n.free-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }\n.futur-glass-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; box-sizing: border-box; }\n.tool-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }\n.tool-btn { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 1rem; font-family: 'Heebo', sans-serif; transition: 0.2s; display: flex; align-items: center; gap: 8px; }\n.tool-btn:hover { border-color: var(--accent); color: var(--accent); }\n.tool-btn.primary { background: var(--accent); color: white; border-color: var(--accent); }\n.tool-btn.primary:hover { background: var(--accent-hover); color: white; }\n.canvas-container { width: 100%; max-width: 100%; overflow: hidden; border-radius: 8px; border: 1px dashed var(--border-color); display: flex; justify-content: center; align-items: center; min-height: 200px; background: repeating-conic-gradient(#e5e7eb 0% 25%, transparent 0% 50%) 50% \/ 20px 20px; margin-top: 20px; }\n.dark-theme .canvas-container { background: repeating-conic-gradient(#1e293b 0% 25%, transparent 0% 50%) 50% \/ 20px 20px; }\n#flip-image-canvas { max-width: 100%; max-height: 500px; }\n.upload-label { display: inline-block; cursor: pointer; background: var(--accent); color: white; padding: 12px 24px; border-radius: 8px; font-weight: bold; transition: 0.2s; text-align: center; }\n.upload-label:hover { background: var(--accent-hover); }\n#flip-image-upload { display: none; }\n.hidden { display: none !important; }\n.seo-content { line-height: 1.8; }\n.seo-content h2, .seo-content h3 { color: var(--accent); margin-top: 30px; }\n\n    \/* Mobile Responsive Defaults *\/\n    @media (max-width: 768px) {\n      .futur-glass-card {\n        padding: 1.5rem 1rem !important;\n      }\n      header h1.main-title, h1.main-title {\n        font-size: 2rem !important;\n      }\n      .subtitle {\n        font-size: 1rem !important;\n      }\n      .grid-layout, .file-list, .options-grid {\n        grid-template-columns: 1fr !important;\n      }\n      .flex-row {\n        flex-direction: column !important;\n      }\n      button.primary-btn, .futur-btn {\n        width: 100% !important;\n      }\n    }\n\n  \n        html.dark-theme,\n        html.dark-theme body,\n        html.dark-theme .wp-site-blocks,\n        html.dark-theme .wp-block-group,\n        html.dark-theme .wp-block-post-content {\n            background-color: #0f172a !important;\n            color: #f1f5f9 !important;\n        }\n        \n<\/style>\n\n<div class=\"futur-layout\" dir=\"ltr\" lang=\"zh\">\n  <div class=\"theme-toggle-wrap\">\n    <button class=\"theme-btn\" id=\"flip-image-theme-toggle\">\ud83c\udf19 \u591c\u95f4\u6a21\u5f0f<\/button>\n  <\/div>\n  \n  <header>\n    <div class=\"title-block\">\n      <h1 class=\"main-title\">\ud83d\udd04 \u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c<\/h1>\n      <p class=\"subtitle\">\u4e0a\u4f20\u56fe\u7247\uff0c\u65cb\u8f6c\u6216\u4e00\u952e\u521b\u5efa\u955c\u50cf\u6548\u679c\u3002<\/p>\n      <div class=\"free-badge\">\n        <div class=\"free-dot\"><\/div>\n        <span>\u8be5\u5de5\u5177\u514d\u8d39\uff0c\u65e0\u9700\u6ce8\u518c\uff0c\u65e0\u9700\u5728\u670d\u52a1\u5668\u4e0a\u4fdd\u5b58\u6570\u636e<\/span>\n      <\/div>\n    <\/div>\n  <\/header>\n\n  <div class=\"futur-glass-card tool-card\" style=\"width: 100%;\">\n    <div style=\"text-align: center; margin-bottom: 20px;\">\n      <label for=\"flip-image-upload\" class=\"upload-label\">\n        <span style=\"font-size: 1.2rem; margin-left: 8px;\">\ud83d\udcc1<\/span> \u4e0a\u4f20\u56fe\u7247\n      <\/label>\n      <input type=\"file\" id=\"flip-image-upload\" accept=\"image\/png, image\/jpeg, image\/jpg, image\/webp\" \/>\n    <\/div>\n\n    <div id=\"flip-image-editor\" class=\"hidden\">\n      <div class=\"tool-controls\">\n        <button class=\"tool-btn\" id=\"flip-image-btn-flip-h\">\u2194\ufe0f \u6c34\u5e73\u955c\u50cf<\/button>\n        <button class=\"tool-btn\" id=\"flip-image-btn-flip-v\">\u2195\ufe0f \u5782\u76f4\u955c\u50cf<\/button>\n        <button class=\"tool-btn\" id=\"flip-image-btn-rot-r\">\u21bb \u5411\u53f3\u65cb\u8f6c<\/button>\n        <button class=\"tool-btn\" id=\"flip-image-btn-rot-l\">\u21ba \u5411\u5de6\u65cb\u8f6c<\/button>\n        <button class=\"tool-btn\" id=\"flip-image-btn-reset\">\ud83d\udd04 \u91cd\u7f6e<\/button>\n        <button class=\"tool-btn primary\" id=\"flip-image-btn-download\">\u2b07\ufe0f \u4e0b\u8f7d\u56fe\u7247<\/button>\n      <\/div>\n\n      <div class=\"canvas-container\">\n        <canvas id=\"flip-image-canvas\"><\/canvas>\n      <\/div>\n    <\/div>\n  <\/div>\n\n  <div class=\"futur-glass-card seo-card\" style=\"width: 100%;\">\n    <div class=\"seo-content\">\n      <h2 class=\"wp-block-heading\">\u5982\u4f55\u8f7b\u677e\u7ffb\u8f6c\u6216\u65cb\u8f6c\u56fe\u7247\uff1f<\/h2>\n      <p>\u8981\u65cb\u8f6c\u6216\u7ffb\u8f6c\u56fe\u7247\uff08\u955c\u50cf\u6548\u679c\uff09\uff0c\u8bf7\u5c06\u60a8\u7684\u56fe\u7247\u4e0a\u4f20\u5230\u6b64\u9875\u9762\u9876\u90e8\u3002\u9009\u62e9\u5411\u53f3\u3001\u5411\u5de6\u65cb\u8f6c\uff0c\u6216\u6c34\u5e73\u548c\u5782\u76f4\u7ffb\u8f6c\u3002\u4e00\u65e6\u56fe\u7247\u6309\u60a8\u60f3\u8981\u7684\u65b9\u5f0f\u6392\u5217\uff0c\u8bf7\u70b9\u51fb\u4e0b\u8f7d\u6309\u94ae\u4ee5\u83b7\u53d6\u65b0\u6587\u4ef6\u3002\u8be5\u5de5\u5177\u5b8c\u5168\u5728\u60a8\u7684\u6d4f\u89c8\u5668\u4e2d\u8fd0\u884c\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\uff0c\u4e5f\u65e0\u9700\u5c06\u56fe\u7247\u4e0a\u4f20\u5230\u5916\u90e8\u670d\u52a1\u5668\uff0c\u4ece\u800c\u786e\u4fdd\u5b8c\u5168\u7684\u9690\u79c1\u3002<\/p>\n\n      <h2 class=\"wp-block-heading\">\u4e3a\u4ec0\u4e48\u624b\u673a\u4e0a\u7684\u56fe\u7247\u5728\u7535\u8111\u4e0a\u663e\u793a\u4e3a\u53cd\u5411\uff1f<\/h2>\n      <p>\u4e00\u4e2a\u975e\u5e38\u5e38\u89c1\u7684\u73b0\u8c61\u662f\u5c06\u56fe\u7247\u4eceiPhone\u6216Android\u8bbe\u5907\u4f20\u8f93\u5230\u7b14\u8bb0\u672c\u7535\u8111\u65f6\uff0c\u53d1\u73b0\u56fe\u7247\u662f\u6a2a\u7740\u6216\u5b8c\u5168\u53cd\u5411\u7684\u3002\u8fd9\u662f\u56e0\u4e3a\u6bcf\u4e2a\u56fe\u7247\u6587\u4ef6\u90fd\u9644\u5e26EXIF\u6570\u636e\u3002\u624b\u673a\u76f8\u673a\u7684\u4f20\u611f\u5668\u4fdd\u5b58\u4e86\u62cd\u6444\u65f6\u8bbe\u5907\u7684\u89d2\u5ea6\u4fe1\u606f\uff08\u65b9\u5411\u6807\u7b7e\uff09\u3002\u624b\u673a\u4e0a\u7684\u56fe\u7247\u67e5\u770b\u5e94\u7528\u4f1a\u8bfb\u53d6\u8fd9\u4e9b\u4fe1\u606f\u5e76\u81ea\u52a8\u6b63\u786e\u663e\u793a\u56fe\u7247\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u67d0\u4e9b\u7535\u8111\u8f6f\u4ef6\u4f1a\u5ffd\u7565EXIF\u6807\u7b7e\uff0c\u5e76\u6c34\u5e73\u663e\u793a\u56fe\u7247\u3002\u7814\u7a76\u8868\u660e\uff0c\u8d85\u8fc780%\u7684\u667a\u80fd\u624b\u673a\u62cd\u6444\u7684\u56fe\u7247\u90fd\u662f\u4ee5\u7ad6\u76f4\uff08Portrait\uff09\u65b9\u5f0f\u62cd\u6444\u7684\uff0c\u8fd9\u5bfc\u81f4\u6570\u767e\u4e07\u4e2a\u6587\u4ef6\u5728\u8f6c\u79fb\u5230\u5176\u4ed6\u5a92\u4f53\u540e\u9700\u8981\u624b\u52a8\u65cb\u8f6c\u3002<\/p>\n\n      <h2 class=\"wp-block-heading\">\u56fe\u7247\u7ffb\u8f6c\uff08\u6c34\u5e73\u955c\u50cf\uff09 &#8211; \u4e3a\u4ec0\u4e48\u6709\u7528\uff1f<\/h2>\n      <p>\u6c34\u5e73\u7ffb\u8f6c\u56fe\u7247\u4f1a\u4ea7\u751f\u201c\u955c\u50cf\u6548\u679c\u201d\u2014\u2014\u53f3\u4fa7\u53d8\u4e3a\u5de6\u4fa7\uff0c\u53cd\u4e4b\u4ea6\u7136\u3002\u8fd9\u4e2a\u5de5\u5177\u5728\u51e0\u4e2a\u4e3b\u8981\u76ee\u7684\u4e0a\u975e\u5e38\u6709\u7528\uff1a<\/p>\n      <ul>\n        <li><strong>\u4fee\u6b63\u81ea\u62cd\u7167\uff1a<\/strong>\u5927\u591a\u6570\u524d\u7f6e\u81ea\u62cd\u76f8\u673a\u5728\u62cd\u6444\u65f6\u4f1a\u663e\u793a\u955c\u50cf\u56fe\u7247\uff0c\u4f46\u4fdd\u5b58\u7684\u6700\u7ec8\u56fe\u7247\u662f\u6b63\u5e38\u7684\u3002\u6c34\u5e73\u7ffb\u8f6c\u7acb\u5373\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\u3002<\/li>\n        <li><strong>\u9002\u5e94\u56fe\u5f62\u8bbe\u8ba1\uff1a<\/strong>\u8bbe\u8ba1\u5e08\u4f7f\u7528\u7ffb\u8f6c\u6765\u8c03\u6574\u56fe\u7247\u4e2d\u4eba\u7269\u7684\u89c6\u7ebf\u671d\u5411\u76f8\u5bf9\u7684\u6587\u672c\u6216\u8425\u9500\u5143\u7d20\u3002<\/li>\n        <li><strong>\u7279\u6b8a\u6253\u5370\uff1a<\/strong>\u5728\u4f7f\u7528\u8f6c\u5370\u7eb8\uff08Transfer Paper\uff09\u6253\u5370T\u6064\u65f6\uff0c\u5fc5\u987b\u5c06\u56fe\u7247\u53cd\u5411\u6253\u5370\uff0c\u4ee5\u4fbf\u5728T\u6064\u4e0a\u663e\u793a\u4e3a\u53ef\u8bfb\u3002<\/li>\n      <\/ul>\n\n      <h2 class=\"wp-block-heading\">\u5982\u4f55\u5728\u4e0d\u635f\u5931\u8d28\u91cf\u7684\u60c5\u51b5\u4e0b\u65cb\u8f6c90\u5ea6\uff1f<\/h2>\n      <p>\u6211\u4eec\u5f00\u53d1\u7684\u5de5\u5177\u4f7f\u7528HTML5 Canvas\u6280\u672f\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8fdb\u884c90\u3001180\u6216270\u5ea6\u7684\u65cb\u8f6c\u3002\u8fd9\u610f\u5473\u7740\u50cf\u7d20\u4ec5\u8fdb\u884c\u6570\u5b66\u65b9\u5411\u7684\u53d8\u5316\uff0c\u800c\u4e0d\u4f1a\u4e22\u5931\u6570\u636e\u3002\u65e7\u7684\u7f16\u8f91\u8f6f\u4ef6\u5728\u6bcf\u6b21\u65cb\u8f6c\u65f6\u90fd\u4f1a\u91cd\u65b0\u538b\u7f29JPEG\u6587\u4ef6\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u4f1a\u4f7f\u56fe\u7247\u8d28\u91cf\u964d\u4f4e\u7ea65%\u523010%\uff08\u751f\u6210\u635f\u5931\uff09\u3002\u5982\u4eca\uff0c\u8fd9\u4e2a\u64cd\u4f5c\u66f4\u52a0\u7cbe\u786e\u3002<\/p>\n\n      <h2 class=\"wp-block-heading\">\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u7f16\u8f91\u7684\u4f18\u52bf\uff08\u9690\u79c1\u548c\u4fdd\u5bc6\uff09<\/h2>\n      <p>\u4e0e\u65e7\u670d\u52a1\u4e0d\u540c\uff0c\u6587\u4ef6\u4e0d\u4f1a\u53d1\u9001\u5230\u670d\u52a1\u5668\u2014\u2014\u5f53\u524d\u5de5\u5177\u4ec5\u4e3a\u5ba2\u6237\u7aef\u3002JavaScript\u4ee3\u7801\u5b8c\u5168\u5728\u60a8\u7684\u8bbe\u5907\u4e0a\u8fd0\u884c\uff1a<\/p>\n      <ul>\n        <li><strong>\u7edd\u5bf9\u5b89\u5168\uff1a<\/strong>\u56fe\u7247\u6c38\u8fdc\u4e0d\u4f1a\u79bb\u5f00\u60a8\u7684\u8bbe\u5907\uff0c\u4efb\u4f55\u4eba\u90fd\u65e0\u6cd5\u770b\u5230\u5b83\u3002<\/li>\n        <li><strong>\u54cd\u5e94\u901f\u5ea6\uff1a<\/strong>\u6ca1\u6709\u4e0a\u4f20\u5927\u6587\u4ef6\u6216\u91cd\u65b0\u4e0b\u8f7d\u7684\u7b49\u5f85\u65f6\u95f4\u3002\u64cd\u4f5c\u5728\u6beb\u79d2\u5185\u5b8c\u6210\u3002<\/li>\n        <li><strong>\u79bb\u7ebf\u53ef\u7528\uff1a<\/strong>\u52a0\u8f7d\u9875\u9762\u540e\uff0c\u60a8\u53ef\u4ee5\u65ad\u5f00\u7f51\u7edc\u5e76\u7ee7\u7eed\u5728\u672c\u5730\u65cb\u8f6c\u56fe\u7247\u3002<\/li>\n      <\/ul>\n\n      <h2 class=\"wp-block-heading\">\u5e38\u89c1\u95ee\u9898\uff08FAQ\uff09<\/h2>\n      <h3 class=\"wp-block-heading\">\u662f\u5426\u5bf9\u53ef\u4ee5\u65cb\u8f6c\u7684\u56fe\u7247\u5927\u5c0f\u6709\u9650\u5236\uff1f<\/h3>\n      <p>\u5728\u6211\u4eec\u7684\u7cfb\u7edf\u4e2d\u6ca1\u6709\u9650\u5236\uff0c\u56e0\u4e3a\u64cd\u4f5c\u662f\u5728\u60a8\u7684\u8bbe\u5907\u4e0a\u672c\u5730\u8fdb\u884c\u7684\u3002\u5efa\u8bae\u4e0d\u8981\u4e0a\u4f20\u8d85\u8fc720MB\u7684\u5927\u6587\u4ef6\uff0c\u4ee5\u907f\u514d\u6d4f\u89c8\u5668\u672c\u8eab\u7684\u7f13\u6162\u3002<\/p>\n      \n      <h3 class=\"wp-block-heading\">\u64cd\u4f5c\u662f\u5426\u4f1a\u5f71\u54cd\u539f\u59cb\u56fe\u7247\u7684\u8d28\u91cf\uff1f<\/h3>\n      <p>\u4e0d\u4f1a\u3002\u5f53\u56fe\u7247\u5728\u753b\u5e03\u4e0a\u88ab\u8f6c\u6362\u548c\u65cb\u8f6c\u65f6\uff0c\u8be5\u5de5\u5177\u65e8\u5728\u4fdd\u6301\u5c3d\u53ef\u80fd\u9ad8\u7684\u539f\u59cb\u8d28\u91cf\u5728\u91cd\u65b0\u4e0b\u8f7d\u65f6\uff0c\u800c\u4e0d\u4f1a\u8fdb\u884c\u4e25\u683c\u7684\u538b\u7f29\u4ee5\u51cf\u5c11\u50cf\u7d20\u3002<\/p>\n      \n      <h3 class=\"wp-block-heading\">\u8be5\u5de5\u5177\u662f\u5426\u53ef\u4ee5\u514d\u8d39\u7528\u4e8e\u5546\u4e1a\u7528\u9014\uff1f<\/h3>\n      <p>\u5f53\u7136\u3002\u8be5\u5de5\u5177\u5bf9\u6240\u6709\u7c7b\u578b\u7684\u4f7f\u7528\u2014\u2014\u4e2a\u4eba\u3001\u5546\u4e1a\u548c\u8d38\u6613\u90fd\u662f\u5b8c\u5168\u514d\u8d39\u7684\uff0c\u5e76\u4e14\u4e0d\u4f1a\u5728\u60a8\u7684\u56fe\u7247\u4e0a\u6dfb\u52a0\u4efb\u4f55\u6c34\u5370\u3002<\/p>\n    <\/div>\n  <\/div>\n<\/div>\n\n<script>\ndocument.addEventListener('DOMContentLoaded', () => {\n    \/\/ \u4e3b\u9898\u5207\u6362\n    const themeToggleBtn = document.getElementById('flip-image-theme-toggle');\n    const layout = document.querySelector('.futur-layout');\n    let isDark = false;\n    \n    themeToggleBtn.addEventListener('click', () => {\n        isDark = !isDark;\n        if(isDark) {\n            layout.classList.add('dark-theme'); document.documentElement.classList.add('dark-theme'); document.body.classList.add('dark-theme');\n            themeToggleBtn.textContent = '\u2600\ufe0f \u767d\u5929\u6a21\u5f0f';\n        } else {\n            layout.classList.remove('dark-theme'); document.documentElement.classList.remove('dark-theme'); document.body.classList.remove('dark-theme');\n            themeToggleBtn.textContent = '\ud83c\udf19 \u591c\u95f4\u6a21\u5f0f';\n        }\n    });\n\n    \/\/ \u56fe\u7247\u903b\u8f91\n    const uploadInput = document.getElementById('flip-image-upload');\n    const editorSection = document.getElementById('flip-image-editor');\n    const canvas = document.getElementById('flip-image-canvas');\n    const ctx = canvas.getContext('2d');\n    \n    let originalImage = null;\n    let rotation = 0; \/\/ \u4ee5\u5ea6\u4e3a\u5355\u4f4d\n    let scaleX = 1;\n    let scaleY = 1;\n\n    uploadInput.addEventListener('change', (e) => {\n        const file = e.target.files[0];\n        if(!file) return;\n        \n        const reader = new FileReader();\n        reader.onload = (event) => {\n            const img = new Image();\n            img.onload = () => {\n                originalImage = img;\n                rotation = 0;\n                scaleX = 1;\n                scaleY = 1;\n                editorSection.classList.remove('hidden');\n                drawImage();\n            };\n            img.src = event.target.result;\n        };\n        reader.readAsDataURL(file);\n    });\n\n    function drawImage() {\n        if(!originalImage) return;\n\n        \/\/ \u6839\u636e\u65cb\u8f6c\u8ba1\u7b97\u5c3a\u5bf8\n        const isVertical = rotation % 180 !== 0;\n        const width = isVertical ? originalImage.height : originalImage.width;\n        const height = isVertical ? originalImage.width : originalImage.height;\n\n        canvas.width = width;\n        canvas.height = height;\n\n        ctx.clearRect(0, 0, width, height);\n        ctx.save();\n        \n        \/\/ \u79fb\u52a8\u5230\u4e2d\u5fc3\u4ee5\u65cb\u8f6c\u548c\u7f29\u653e\n        ctx.translate(width \/ 2, height \/ 2);\n        ctx.rotate((rotation * Math.PI) \/ 180);\n        ctx.scale(scaleX, scaleY);\n\n        \/\/ \u7ed8\u5236\u56fe\u7247\uff0c\u504f\u79fb\u5176\u539f\u59cb\u5927\u5c0f\u7684\u4e00\u534a\n        ctx.drawImage(originalImage, -originalImage.width \/ 2, -originalImage.height \/ 2);\n        \n        ctx.restore();\n    }\n\n    document.getElementById('flip-image-btn-flip-h').addEventListener('click', () => {\n        \/\/ \u5982\u679c\u56fe\u7247\u65cb\u8f6c\u4e8690\u6216270\u5ea6\uff0c\u6c34\u5e73\u7ffb\u8f6c\u5728\u89c6\u89c9\u4e0a\u4f5c\u7528\u4e8eY\u8f74\n        if(rotation % 180 !== 0) {\n            scaleY *= -1;\n        } else {\n            scaleX *= -1;\n        }\n        drawImage();\n    });\n\n    document.getElementById('flip-image-btn-flip-v').addEventListener('click', () => {\n        if(rotation % 180 !== 0) {\n            scaleX *= -1;\n        } else {\n            scaleY *= -1;\n        }\n        drawImage();\n    });\n\n    document.getElementById('flip-image-btn-rot-r').addEventListener('click', () => {\n        rotation = (rotation + 90) % 360;\n        drawImage();\n    });\n\n    document.getElementById('flip-image-btn-rot-l').addEventListener('click', () => {\n        rotation = (rotation - 90 + 360) % 360;\n        drawImage();\n    });\n\n    document.getElementById('flip-image-btn-reset').addEventListener('click', () => {\n        rotation = 0;\n        scaleX = 1;\n        scaleY = 1;\n        drawImage();\n    });\n\n    document.getElementById('flip-image-btn-download').addEventListener('click', () => {\n        if(!originalImage) return;\n        \n        \/\/ \u5c06\u753b\u5e03\u8f6c\u6362\u4e3a\u56fe\u7247\n        const dataUrl = canvas.toDataURL('image\/jpeg', 1.0);\n        const link = document.createElement('a');\n        link.download = 'rotated-image-bsolution.jpg';\n        link.href = dataUrl;\n        document.body.appendChild(link);\n        link.click();\n        document.body.removeChild(link);\n    });\n});\n<\/script>\n\n<!-- Schema.org JSON-LD -->\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@graph\": [\n    {\n      \"@type\": \"SoftwareApplication\",\n      \"name\": \"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\",\n      \"operatingSystem\": \"\u6240\u6709\",\n      \"applicationCategory\": \"\u591a\u5a92\u4f53\u5e94\u7528\",\n      \"description\": \"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u3002\",\n      \"offers\": {\n        \"@type\": \"Offer\",\n        \"price\": \"0\",\n        \"priceCurrency\": \"CNY\"\n      },\n      \"url\": \"https:\/\/bsolution.me\/zh\/flip-image\/\"\n    },\n    {\n      \"@type\": \"FAQPage\",\n      \"mainEntity\": [\n        {\n          \"@type\": \"Question\",\n          \"name\": \"\u662f\u5426\u5bf9\u53ef\u4ee5\u65cb\u8f6c\u7684\u56fe\u7247\u5927\u5c0f\u6709\u9650\u5236\uff1f\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"\u5728\u6211\u4eec\u7684\u7cfb\u7edf\u4e2d\u6ca1\u6709\u9650\u5236\uff0c\u56e0\u4e3a\u64cd\u4f5c\u662f\u5728\u60a8\u7684\u8bbe\u5907\u4e0a\u672c\u5730\u8fdb\u884c\u7684\u3002\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"\u64cd\u4f5c\u662f\u5426\u4f1a\u5f71\u54cd\u539f\u59cb\u56fe\u7247\u7684\u8d28\u91cf\uff1f\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"\u4e0d\u4f1a\u3002\u56fe\u7247\u4ee5\u5176\u539f\u59cb\u9ad8\u5206\u8fa8\u7387\u4fdd\u5b58\uff0c\u65e0\u9700\u4e25\u683c\u538b\u7f29\u3002\"\n          }\n        },\n        {\n          \"@type\": \"Question\",\n          \"name\": \"\u4e3a\u4ec0\u4e48\u6211\u7684\u81ea\u62cd\u7167\u662f\u53cd\u5411\u7684\uff0c\u8fd9\u4e2a\u5de5\u5177\u80fd\u5e2e\u5fd9\u5417\uff1f\",\n          \"acceptedAnswer\": {\n            \"@type\": \"Answer\",\n            \"text\": \"\u662f\u7684\u3002\u5927\u591a\u6570\u76f8\u673a\u62cd\u6444\u81ea\u62cd\u65f6\u662f\u955c\u50cf\u7684\uff0c\u4f46\u4fdd\u5b58\u4e3a\u6b63\u5e38\u3002\u4f7f\u7528\u6211\u4eec\u7684\u5de5\u5177\u8fdb\u884c\u6c34\u5e73\u7ffb\u8f6c\u53ef\u4ee5\u7acb\u5373\u4fee\u6b63\u3002\"\n          }\n        }\n      ]\n    }\n  ]\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c \ud83c\udf19 \u591c\u95f4\u6a21\u5f0f \ud83d\udd04 \u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c \u4e0a\u4f20\u56fe\u7247\uff0c\u65cb\u8f6c\u6216\u4e00\u952e\u521b\u5efa\u955c\u50cf\u6548\u679c\u3002 \u8be5\u5de5\u5177\u514d\u8d39\uff0c\u65e0\u9700 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_yoast_wpseo_title":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution","_yoast_wpseo_metadesc":"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002","footnotes":"","tool_emoji":"\ud83d\udd04","tool_category":"\u56fe\u5f62\u8bbe\u8ba1\u5de5\u5177","tool_featured":"no"},"class_list":["post-26","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution<\/title>\n<meta name=\"description\" content=\"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bsolution.me\/zh\/flip-image\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bsolution.me\/zh\/flip-image\/\" \/>\n<meta property=\"og:site_name\" content=\"\u514d\u8d39\u5546\u4e1a\u5de5\u5177\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-27T07:17:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/flip-image\\\/\",\"url\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/flip-image\\\/\",\"name\":\"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/#website\"},\"datePublished\":\"2026-09-26T14:27:42+00:00\",\"dateModified\":\"2026-09-27T07:17:35+00:00\",\"description\":\"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/flip-image\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bsolution.me\\\/zh\\\/flip-image\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/flip-image\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/#website\",\"url\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/\",\"name\":\"\u514d\u8d39\u5546\u4e1a\u5de5\u5177\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bsolution.me\\\/zh\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution","description":"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bsolution.me\/zh\/flip-image\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution","og_description":"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002","og_url":"https:\/\/bsolution.me\/zh\/flip-image\/","og_site_name":"\u514d\u8d39\u5546\u4e1a\u5de5\u5177","article_modified_time":"2026-09-27T07:17:35+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bsolution.me\/zh\/flip-image\/","url":"https:\/\/bsolution.me\/zh\/flip-image\/","name":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177 - bSolution","isPartOf":{"@id":"https:\/\/bsolution.me\/zh\/#website"},"datePublished":"2026-09-26T14:27:42+00:00","dateModified":"2026-09-27T07:17:35+00:00","description":"\u4e00\u4e2a\u7b80\u5355\u4e14\u514d\u8d39\u7684\u5728\u7ebf\u5de5\u5177\uff0c\u53ef\u4ee5\u6c34\u5e73\uff08\u955c\u50cf\u6548\u679c\uff09\u6216\u5782\u76f4\u7ffb\u8f6c\u56fe\u7247\uff0c\u5e76\u65cb\u8f6c\u56fe\u724790\u3001180\u6216270\u5ea6\u3002\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u5feb\u901f\u5b89\u5168\u5730\u7f16\u8f91\uff0c\u65e0\u9700\u4e0b\u8f7d\u8f6f\u4ef6\u3002","breadcrumb":{"@id":"https:\/\/bsolution.me\/zh\/flip-image\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bsolution.me\/zh\/flip-image\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bsolution.me\/zh\/flip-image\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bsolution.me\/zh\/"},{"@type":"ListItem","position":2,"name":"\u5728\u7ebf\u56fe\u7247\u7ffb\u8f6c\u548c\u65cb\u8f6c\u5de5\u5177"}]},{"@type":"WebSite","@id":"https:\/\/bsolution.me\/zh\/#website","url":"https:\/\/bsolution.me\/zh\/","name":"\u514d\u8d39\u5546\u4e1a\u5de5\u5177","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bsolution.me\/zh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"}]}},"_links":{"self":[{"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/pages\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":2,"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/pages\/26\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/pages\/26\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/bsolution.me\/zh\/wp-json\/wp\/v2\/media?parent=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}