Jump to content

Recommended Posts

Image Converter PHP Script


This online image converter is a PHP script that can convert images in many formats to AI, APNG, AVIF, BMP, DDS, DIB, EPS, GIF, HDR, HEIC, HEIF, ICO, JP2, JPE, JPEG, PDF, PNG, PSD, RAW, SVG, TGA, TIFF, WBMP, and WEBP.

Older images are deleted from the server on each new upload after a fixed number of hours that can be set from the dashboard.

 

IMPORTANT:

The default supported formats depend entirely on your hosting server. On shared hosting, you are stuck with what your hosting provides since you don't have SSH access to the server. On VPS however, you have full control of the server and the ability to install any required library for more formats support.

For this script, I recommend Ubuntu 22.04 or above. In the documentation, I included a section that will guide you to install any required library for 100% format support. In fact, the demo app is running on an Ubuntu 22.04 server.

CentOS 7 is also commonly used in VPS hosting. But it's outdated and lacks support for some formats. Installing up-to-date packages on CentOS 7 often requires Remi's RPM repository. I don't recommend this OS for this script but if you know what you’re doing, you may be able to install the required libraries for the unsupported formats.

I also added the option to enable or disable any converter from the dashboard. So if any format is not supported, you can disable therelated converter.

This online image converter is a PHP script that can convert images in many formats to AI, APNG, AVIF, BMP, DDS, DIB, EPS, GIF, HDR, HEIC, HEIF, ICO, JP2, JPE, JPEG, PDF, PNG, PSD, RAW, SVG, TGA, TIFF, WBMP, and WEBP.

Older images are deleted from the server on each new upload after a fixed number of hours that can be set from the dashboard.

 

IMPORTANT:

The default supported formats depend entirely on your hosting server. On shared hosting, you are stuck with what your hosting provides since you don't have SSH access to the server. On VPS however, you have full control of the server and the ability to install any required library for more formats support.

For this script, I recommend Ubuntu 22.04 or above. In the documentation, I included a section that will guide you to install any required library for 100% format support. In fact, the demo app is running on an Ubuntu 22.04 server.

CentOS 7 is also commonly used in VPS hosting. But it's outdated and lacks support for some formats. Installing up-to-date packages on CentOS 7 often requires Remi's RPM repository. I don't recommend this OS for this script but if you know what you’re doing, you may be able to install the required libraries for the unsupported formats.

I also added the option to enable or disable any converter from the dashboard. So if any format is not supported, you can disable therelated converter.

Demo:

https://imageconverter.fun

https://imageconverter.webappskit.com/admin

 

Userneme: westiti@gmail.com

Password: 12345678

 

Documentation

https://imageconverter.webappskit.com/doc.htm

 

Requirements

PHP version 8.1 or higher.

Apache server

A MySQL Database

mod_rewrite enabled

The following PHP extensions should be installed and enabled:

Bcmath

Ctype

cURL

DOM

Hash

Fileinfo

Filter

Imagick

Intl

Mbstring

OpenSSL

PCRE

PDO

Session

Tokenizer

XML

Zip


 

Edited by WoW cobra
New update

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...