Budget: 200 RUB Deadline: 1 day
Сделаю быстро.
День добрый, господа. Требуется следующая функция на php.
=========================================
$options['quality']=90;//качество итогового jpg
$options['width']=993; //ширина итоговой картинки в px
$options['height']=520; //высота итоговой картинки в px
$options['color']=0xFFFFFF;//код фонового цвета в rgb
$options['title']='Некий заголовок'; //заголовок к изображению
$options['category']='Название категории';
$options['font_title']='/www/sitename/files/font1.ttf';//полный адрес к шрифту для заголовка
$options['font_category']='/www/sitename/files/font2.ttf';//полный адрес к шрифту для категории
$options['res_folder']='/www/sitename/files/imgs';//полный путь к папке для сохранения
$options['res_name']='pic_name.jpg';//имя конечного файла
function makePostPic($options){
/*
- создать канву $options['width']x$options['height'] с заливкой цвета $options['color'];
- картинку $options['pic_file'] отресайзить и обрезать до размеров 940 x 408 (полное заполнение, выравнивание по центру, обрезка сверху/снизу или по бокам при необходимости), разместить её в верхнем правом углу канвы;
- от заголовка $options['title'] отсечь первую букву; вывести на канву надпись заданным шрифтом (расположение будет в примере), первая буква белого цвета, всё остальное цветом $options['color'];
- вывести на канву надпись $options['category'] шрифтом $options['font_category'] белого цвета с поворотом на 90 градусов против часовой стрелки (вертикально, расположение будет в примере);
- наложить поверх канвы прозрачный png32 $options['png_overlay'] в координаты 0,0 (он будет полностью совпадать по исходным размерам канвы);
- сохранить результат как JPG в папке $options['res_folder'] с именем $options['res_name'] качества $options['quality'];
*/
}
=========================================
Исполнителю скину пример и шрифты. Срок сегодня.
Спасибо!
A plugin needs to be developed. The goal is a convenient table for quick selection and purchasing of goods by wholesale buyers. Functionality Front: Columns - Product selection (check), Name, Category, Warehouse, Delivery, Price, Quantity selection, Add to cart, Clear filters search products in a list filter by categories filter by warehouses filter by delivery product quantity selection adding to cart Back: bulk price increase and decrease by % per warehouse
It is required to refine a WordPress plugin that performs analytics functions. The plugin scans data and displays it on its website. The work can be divided into stages. Main tasks: Analysis and optimization of the current architecture of the plugin. Enhancement of the module for collecting and processing data from external sources. Improvement of performance when working with large volumes of information. Implementation of additional settings in the admin panel. Optimization of storage and display of results on the website. Correction of identified errors and increasing stability of operation. Requirements: Experience working with WordPress. Confident knowledge of PHP, MySQL, JavaScript. Understanding of working with APIs and automated data processing. Ability to understand someone else's code. A detailed technical assignment will be provided to the selected performer after preliminary discussion.
We need a Laravel Backend Developer for the development and maintenance of server logic, databases, and core APIs for our web application. Responsibilities include developing and maintaining server logic and databases for our web application based on Laravel. The work involves integrating frontend frameworks with our server infrastructure and includes designing database architecture and executing queries on relational databases such as MySQL. Professional experience in Laravel development with at least three years of work in this field is required. Experience with integrating frontend frameworks with server infrastructure is also preferred.
We are looking for support for a project based on Yii , we need to make edits and improvements to the database, there is partially a connection with the previous contractor .....................
A virus has currently infiltrated the website. The site is not functioning properly. In particular, the main page is not working correctly. We need a developer who can fix this error as soon as possible.