2h4dl

Results 22 comments of 2h4dl

Hi @jcupitt , it's all right to read an image from local disk with `new_from_file`. How to read a internet image. Here is my code to read image from interent...

I need to crop specific area, `extract_area` is preferred, so the manual way is appropriate, also resize op. Plz tell me how to get every frame and reassemble as a...

Hi @jcupitt, is there any way else I can do to get file format exactlly, like what PIL.Image.format does?

Sorry @jcupitt , I don't know what MIME is. I need to know image format from internet buffer loaded by pyvips.Image.new_from_buffer.

Haha, not convinced, but work. Thank you @jcupitt.

AH! Sorry. libvips: 8.8.2 pyvips: 2.1.8 platform: ubuntu 16.04 Image: [Imgur](https://i.imgur.com/rpm6DLE.jpg) ``` import requests import pyvips image_content = requests.get("https://i.imgur.com/rpm6DLE.jpg").content image = pyvips.Image.new_from_buffer(image_content) if image.get_typeof("icc-profile-data") != 0: image = image.icc_transform("srgb", embedded=True,...

@jcupitt I'm sure this exception caused by method `icc_transform`.

I'm trying to upgrade libvips version to 8.8.4. An error occured in `make`. ``` libvips-cpp.so.42 -o .libs/libvips-cpp.so.42.11.3 libtool: link: (cd ".libs" && rm -f "libvips-cpp.so.42" && ln -s "libvips-cpp.so.42.11.3" "libvips-cpp.so.42")...

I tried with `./configure --without-rsvg` and `./configure --without-pangoft2`, it's not working.

`--without-magick` is working. Will this slow down libvips speed when read, resize, crop or sharpen and so on?