Questions tagged [wideimage]

An open-source PHP library for image manipulation. The library provides a simple way for loading, manipulating and saving images in the most common image formats.

26 questions
4
votes
2 answers

openCV image Stitching wide angle 160 degrees

I'm trying to Stitching image wide angle 160.5 degree but the result is not a good i'm using OpenCV 4 and ffmpeg to get frames from video ffmpeg command to get 15 frame per sec : ffmpeg -i first.mp4 -vf fps=15 preview%05d.jpg OpenCV Stitching…
a.masri
  • 2,439
  • 1
  • 14
  • 32
3
votes
0 answers

PHP image crop from CSS Transform

I am currently building a Image cropping tool for a client the front end allows users to upload and image and zoom in / out and pan the zoomed image until they are happy. This is all working fine, it starts to get complicated when i need to crop…
tvance
  • 83
  • 6
2
votes
4 answers

Mask PNG image with black and white mask

I have the following image (please note the transparent background): I also have a black/white mask of the same size: I would like to "crop" the dress and get just the portion of the first image contained in the black circle. I tried many…
StockBreak
  • 2,857
  • 1
  • 35
  • 61
2
votes
1 answer

imagerotate changes original image's color

I am encountering a very strange behavior when rotating images with PHP. The original image is being changed during the rotation. As an example, here are the side by side images. It's hard to see, but if you look closely, the white area…
Steven Musumeche
  • 2,886
  • 5
  • 33
  • 55
2
votes
0 answers

Checking to ensure an image has saved with PHP

I am using the library WideImage to resize an uploaded image into two separate sizes then save the images in two separate directories. The problem is that the smaller image is not ALWAYS saving. Here is my attempt: …
user906357
  • 4,575
  • 7
  • 28
  • 38
2
votes
0 answers

WideImage - The loaded image does not store in an another variable if destroy method is called on original variable

If the image's width and height is less than 400px then don't resize and save the $original in $resized. But if I call $original->destroy(), the data stored in $resized also gets null. How to destroy the original and keep its copy in $resized…
2
votes
0 answers

fit a image on a background image with wideimage

is it possible to fit image onto a white background image using wideimage and in that way to show the image without deformations?. Now I have this, this source merges a background image with an uploaded image, but a part of image loses public…
Alexander Ceballos
  • 750
  • 2
  • 20
  • 36
1
vote
0 answers

Is there a newer alternative to WideImage?

I have been recommended the use of WideImage library to generate thumbnails in needed sizes, but looking at the codebase it seems to use quite a lot of deprecated functions. What would the PHP7/2019 equivalent be? 38 | ERROR | Function…
Rasmus B
  • 41
  • 1
1
vote
0 answers

Typographic Alignment in WideImage PHP

How to align the text in WideImage plugin in PHP? For example, Left Alignment should be like this: Sample Text Here. Sample Text. Sample. Right alignment: Sample Text Here. Sample Text. Text. Center Alignment should: Sample Text…
Valiancer
  • 29
  • 3
1
vote
1 answer

WideImage - Canvas with transparent background

We're using a CMS with WideImage built in and no scope to change this, however we've come up against a situation where we need to produce 300x300 images. However the images that are uploaded at approx 100x100 in jpg and png format with various…
owenmelbz
  • 6,180
  • 16
  • 63
  • 113
1
vote
0 answers

WideImage only working for some Images

WideImage is only working for some images. I can't figure out why, because the images are same filetype and same dimensions. Here is my code
Tim Döring
  • 41
  • 1
  • 8
1
vote
0 answers

WideImage output as strange characters instead of image

I am trying to showing cropped images as thubmnails with WideImage. I made a function with an array of filenames as parameter ($images) where I produce my html foreach ($images as $img) { $pathToThumb = str_replace("/upload/images",…
bflydesign
  • 483
  • 8
  • 22
1
vote
1 answer

Show wide images in wordpress

Hi there i am trying to achieve the following look http://demo.qodeinteractive.com/elision/ where they have very wide images going across. My content are is 960px/1024px wide but obviously I want to have my images one end of the screen to the other…
0
votes
1 answer

Very long image being cut when the height of the image is not enough

Here are the 2 situations I have in my app - as you can see, the image is being centered when it is being enlarged. The wanted result is that I would like to have see the left side of the image always, meaning let's say the 40% left side of the…
Alon Shlider
  • 1,187
  • 1
  • 16
  • 46
0
votes
1 answer

Writing text on uploaded image with WideImage

I am working to implement the WideImage plugin on a PHP-based project. Right now, we have the image upload working (which goes to a temporary folder based on session ID), but no text is written on the image. I was working based off of this example…
Yami Medina
  • 670
  • 10
  • 26
1
2