ইউটিলিটি কম্পাইল করা
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
যদি পূর্বে সংকলিত ইউটিলিটিগুলি আপনার প্রয়োজন অনুসারে না হয় তবে আপনি নিজেই WebP ইউটিলিটিগুলি তৈরি করতে পারেন৷
ভিজ্যুয়াল সি++ দিয়ে উইন্ডোজে কম্পাইল করা হচ্ছে
ডাউনলোড তালিকা থেকে libwebp-1.6.0.tar.gz
ডাউনলোড করুন এবং এর বিষয়বস্তু বের করুন।
libwebp-1.6.0
ডিরেক্টরি থেকে, চালান:
nmake /f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output
অতিরিক্ত বিকল্পগুলি দেখতে, চালান:
nmake /f Makefile.vc
ডিরেক্টরি output\release-static\x86\bin
বা output\release-static\x64\bin
প্ল্যাটফর্মের লক্ষ্যবস্তুর উপর নির্ভর করে cwebp.exe
এবং dwebp.exe
টুল ধারণ করবে। ডিরেক্টরি output\release-static\(x86|x64)\lib
libwebp
স্ট্যাটিক লাইব্রেরি থাকবে।
লিনাক্স
libjpeg
, libpng
, libtiff
এবং libgif
প্যাকেজগুলি ইনস্টল করুন, JPEG, PNG, TIFF, GIF এবং WebP চিত্র বিন্যাসের মধ্যে রূপান্তর করার জন্য প্রয়োজন৷
লিনাক্স ডিস্ট্রিবিউশন অনুযায়ী প্যাকেজ ব্যবস্থাপনা পরিবর্তিত হয়। উবুন্টু এবং ডেবিয়ানে, নিম্নলিখিত কমান্ডটি প্রয়োজনীয় প্যাকেজগুলি ইনস্টল করবে:
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev
ইনস্টলেশন সম্পূর্ণ করুন ( নীচে দেখুন )।
macOS
ম্যাকপোর্টস নির্ভরতা সন্তুষ্ট করার একটি সুবিধাজনক উপায়। আপনি যদি ইতিমধ্যেই ম্যাকপোর্টস ইনস্টল করে থাকেন, তাহলে সরাসরি ধাপ 3 এ যান। অন্যথায়, এই পদক্ষেপগুলি অনুসরণ করুন:
MacPorts ডাউনলোড সাইট থেকে আপনার macOS সংস্করণের জন্য MacPorts ডাউনলোড করুন। ম্যাকপোর্টের জন্য Xcode ইনস্টল করা প্রয়োজন।
ম্যাকপোর্টের নির্দেশনা অনুসরণ করে ম্যাকপোর্ট ইনস্টল করুন।
ম্যাকপোর্ট আপডেট করুন:
sudo port selfupdate
JPEG, PNG, TIFF এবং GIF নির্ভরতা ইনস্টল করুন:
sudo port install jpeg libpng tiff giflib
ইনস্টলেশন সম্পূর্ণ করুন ( নীচে দেখুন )।
সাইগউইন
Cygwin ওয়েব পৃষ্ঠা থেকে setup.exe ডাউনলোড করুন।
setup.exe চালান এবং ইনস্টলেশনের মাধ্যমে এগিয়ে যান।
প্যাকেজ নির্বাচন করুন স্ক্রিনে, পূর্ব-নির্বাচিত প্যাকেজগুলিতে নিম্নলিখিতগুলি যোগ করুন:
libjpeg-devel
, libpng-devel
, libtiff-devel
এবং libgif-devel
gcc
, make
এবং automake
(প্যাকেজ তৈরির জন্য)
ইনস্টলেশন সম্পূর্ণ করুন ( নীচে দেখুন )।
বিল্ডিং
ডাউনলোড তালিকা থেকে libwebp-1.6.0.tar.gz
ডাউনলোড করুন।
প্যাকেজটি আনটার বা আনজিপ করুন। এটি libwebp-1.6.0/
নামে একটি ডিরেক্টরি তৈরি করে :
tar xvzf libwebp-1.6.0.tar.gz
WebP এনকোডার cwebp
এবং ডিকোডার dwebp
তৈরি করুন:
ডিরেক্টরিতে যান যেখানে libwebp-1.6.0/
এক্সট্র্যাক্ট করা হয়েছিল এবং নিম্নলিখিত কমান্ডগুলি চালান:
cd libwebp-1.6.0
./configure
make
sudo make install
এটি libwebp
লাইব্রেরি (গতিশীল এবং স্ট্যাটিক) সহ cwebp
এবং dwebp
কমান্ড লাইন টুল তৈরি ও ইনস্টল করে।
এই টুলগুলি সাধারণত ডিফল্টরূপে /usr/local/bin/
এর অধীনে ইনস্টল করা হয়। স্থানীয় সংস্করণ examples/
ডিরেক্টরির অধীনে নির্মিত হয়।
লাইব্রেরি সাধারণত /usr/local/lib/
ডিরেক্টরির অধীনে ইনস্টল করা হবে। রান-টাইম ত্রুটিগুলি এড়াতে, নিশ্চিত করুন যে আপনার LD_LIBRARY_PATH
এনভায়রনমেন্ট ভেরিয়েবলে এই অবস্থানটি অন্তর্ভুক্ত রয়েছে৷ C শিরোনামগুলি সাধারণত /usr/local/include/webp
অধীনে ইনস্টল করা হয়।
অতিরিক্ত বিকল্পগুলি দেখতে, চালান:
./configure --help
পরবর্তী কি?
কিভাবে আপনার ছবি রূপান্তর করা শুরু করবেন তার নির্দেশাবলীর জন্য WebP ব্যবহারে যান।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-08-08 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis page provides instructions for building WebP utilities (\u003ccode\u003ecwebp\u003c/code\u003e and \u003ccode\u003edwebp\u003c/code\u003e) from source code if precompiled options are unsuitable.\u003c/p\u003e\n"],["\u003cp\u003eBuilding on Windows involves using Visual C++ with specific commands to compile the utilities and library.\u003c/p\u003e\n"],["\u003cp\u003eFor Unix-like platforms (Linux, macOS, Cygwin), instructions cover installing necessary dependencies before building the WebP tools.\u003c/p\u003e\n"],["\u003cp\u003eThe building process on Unix-like systems involves downloading the source code, configuring, compiling, and installing the utilities and libraries.\u003c/p\u003e\n"],["\u003cp\u003eAfter building the utilities, users can proceed to the "Using WebP" page for image conversion instructions.\u003c/p\u003e\n"]]],["To build WebP utilities: Windows users download `libwebp-1.5.0.tar.gz`, then use `nmake` in the `libwebp-1.5.0` directory to compile, producing `cwebp.exe` and `dwebp.exe` in the output. Unix-like users install `libjpeg`, `libpng`, `libtiff`, and `libgif` packages, then download and extract `libwebp-1.5.0.tar.gz`. Navigate to the directory and run `./configure`, `make`, and `sudo make install` to build and install `cwebp` and `dwebp`.\n"],null,["# Compiling the Utilities\n\nIf the [precompiled utilities](/speed/webp/docs/precompiled) don't suit your\nneeds, you can build the WebP utilities yourself.\n\nCompiling on Windows with Visual C++\n------------------------------------\n\n1. Download `libwebp-1.6.0.tar.gz` from the [downloads list](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html)\n and extract its contents.\n\n2. From the `libwebp-1.6.0` directory, run:\n\n nmake /f Makefile.vc CFG=release-static RTLIBCFG=static OBJDIR=output\n\n To see additional options, run: \n\n nmake /f Makefile.vc\n\n3. The directory `output\\release-static\\x86\\bin` or\n `output\\release-static\\x64\\bin` will contain the tools `cwebp.exe` and\n `dwebp.exe` depending on the platform being targeted. The directory\n `output\\release-static\\(x86|x64)\\lib` will contain the `libwebp` static\n library.\n\nCompiling on Unix-like Platforms\n--------------------------------\n\n### Preparing the Platform\n\n#### Linux\n\n1. Install the `libjpeg`, `libpng`, `libtiff` and `libgif` packages, needed to\n convert between JPEG, PNG, TIFF, GIF and WebP image formats.\n\n Package management varies by Linux distribution. On Ubuntu and Debian, the\n following command will install the needed packages: \n\n sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev\n\n2. Complete the installation ([see below](#building)).\n\n#### macOS\n\nMacPorts is a convenient way to satisfy dependencies. If you already have\nMacPorts installed, go directly to Step 3. Otherwise, follow these steps:\n\n1. Download MacPorts for your macOS version from the MacPorts\n [downloads site](https://distfiles.macports.org/MacPorts). MacPorts requires\n the installation of\n [Xcode](https://developer.apple.com/xcode/).\n\n2. Install MacPorts following the MacPorts\n [directions](https://guide.macports.org/).\n\n3. Update MacPorts:\n\n sudo port selfupdate\n\n4. Install the JPEG, PNG, TIFF and GIF dependencies:\n\n sudo port install jpeg libpng tiff giflib\n\n5. Complete the installation ([see below](#building)).\n\n#### Cygwin\n\n1. Download setup.exe from the [Cygwin web page](https://www.cygwin.com).\n\n2. Run setup.exe and proceed through the installation.\n\n3. At the **Select Packages** screen, add to the pre-selected packages the\n following:\n\n - `libjpeg-devel`, `libpng-devel`, `libtiff-devel` and `libgif-devel`\n\n - `gcc`, `make` and `automake` (for building packages)\n\n4. Complete the installation ([see below](#building)).\n\n### Building\n\n1. Download `libwebp-1.6.0.tar.gz` from the\n [downloads list](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html).\n\n2. Untar or unzip the package. This creates a directory named `libwebp-1.6.0/`:\n\n tar xvzf libwebp-1.6.0.tar.gz\n\n3. Build WebP encoder `cwebp` and decoder `dwebp`:\n\n Go to the directory where `libwebp-1.6.0/` was extracted to\n and run the following commands: \n\n cd libwebp-1.6.0\n ./configure\n make\n sudo make install\n\n This builds and installs the `cwebp` and `dwebp` command line tools, along\n with the `libwebp` libraries (dynamic and static).\n\n These tools are usually installed under `/usr/local/bin/` by default. The\n local versions are built under the `examples/` directory.\n\n The library will usually be installed under the `/usr/local/lib/` directory.\n To avoid run-time errors, make sure that your `LD_LIBRARY_PATH` environment\n variable includes this location. The C headers are typically installed under\n `/usr/local/include/webp`.\n\n To see additional options, run: \n\n ./configure --help\n\nWhat Next?\n----------\n\nGo to [Using WebP](/speed/webp/docs/using) for instructions on how to start\nconverting your images."]]