ויקישיתוף:CropTool

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Commons:CropTool and the translation is 94% complete. Changes to the translation template, respectively the source language can be submitted through Commons:CropTool and have to be approved by a translation administrator.

Shortcut: COM:CROPT

CropTool הוא כלי לחיתוך תמונות בוויקישיתוף ובמיזמי ויקימדיה אחרים. הוא תומך בקבצים מהסוגים JPEG ,PNG, TIFF ו־GIF (אנימציה) ויכול גם לחלץ עמוד מסויים מקובץ DJVU או PDF לקובץ JPEG לצורך חיתוך. קרופטול הושפע מהבוט משתמש:Cropbot, אך נוספו לו מספר תכונות, למשל OAuth וזיהוי גבולות תמונה אוטומטי. הוא עבר הרצה ב־Toolforge וקוד המקור זמין ב־GitHub. השימוש האחרון בכלי זמין בשינויים האחרונים.

CropTool

2020 Coolest Tool
Award Winner

in the category
Tiny


התקנה

הפעילו את CropTool!

לאחר ההפעלה, הוא יופיע בתפריט "כלים" בעמודה שבצד ימין.

לחלופין: עבור אל toolforge

הדרכה

1. לפנינו תמונה שיש להסיר את המסגרת שלה. התחילו בלחיצה על "CropTool" שבתפריט הכלים.

ניתן להגיע אל אותו מקום גם דרך הקישור הזה.

2. כדי להשתמש ב־CropTool, עליכם לאשר לו להשתמש בחשבון הויקימדיה שלכם באמצעות OAuth.
3. פעולה זו תעביר אותכם לשרת OAuth מאובטח של מדיה-ויקי. שימו לב: הסיסמה שלך לעולם לא תועבר ל־CropTool.
4. בחרו את החלק שברצונכם לחתוך באמצעות סמן העכבר ולחצו על מקש "תצוגה מקדימה". במקרה זה עלינו לבצע חיתוך מדויק (מצב "מדויק"), מכיוון שאנחנו רוצים לשמור על כמה שיותר מהתמונה, ולהסיר רק את הגבול. שימו לב: במקרים רבים מומלץ להסתפק במצב בלתי־מדויק (מצב "ללא הפסד").
5. מרוצים מהתוצאה? ניתן להמשיך וללחוץ "העלאה".

התקנה במיזמים אחרים

אם לא קיים גאדג'ט של CropTool במיזם ויקימדיה שלכם (למשל ויקיפדיה), תוכלו להתקין אותו (באופן ידני בהגדרות JavaScript של המשתמש שלך) באמצעות הקוד הבא:

mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.CropTool');

התקנה גלובלית

אם ברצונכם ש־CropTool יהיה פעיל עבורכם בכל מיזמי ויקימדיה, תוכלו להשתמש בקוד הבא בכתובת m:Special:MyPage/global.js. אל תשכחו להשבית את CropTool בכל מיזם מסויים לפני שתוסיפו אותו גלובלית.

if (mw.config.get('wgNamespaceNumber') === 6 && mw.config.get('wgIsArticle'))
    mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-CropTool.js&action=raw&ctype=text/javascript' );

בעיות

  • Sometimes, immediately after you overwrite a file, you do not see apparent changes to it, or it appears "distorted". This is usually caused by caching. To solve the problem, you can simply purge the page. Append ?action=purge to the URL and then press  Enter. If that doesn't solve the problem, follow the instructions at w:Wikipedia:Bypass your cache/Simple instructions.
  • Between September 2020 and 19 February 2024, all cropping was done using lossy mode ("precise" mode), even if lossless mode was selected and the tool said that a lossless crop was performed.
  • Crops from large TIFF files are sometimes compressed leading to broken files

If you encounter other problems, please check Commons talk:CropTool and https://github.com/danmichaelo/croptool/issues and write a bug report if necessary.

ראו גם