Questions tagged [kraken-image-optimizer]

Kraken.io Image Optimizer (https://kraken.io) is a robust online image optimization service which offers a REST API, Web Interface, as well as plugins, modules and integration libraries for various languages and platforms, such as WordPress.

11 questions
5
votes
0 answers

Upload image to kraken.io API using .Net C#

I'm pretty new to web services. Right now I have problem with using the kraken.io API to resize an uploaded image. When requesting the response, it always throws an exception. Any help is appreciated. Thank you very much. Reference to kraken.io API…
kml
  • 163
  • 6
4
votes
3 answers

How to receive json post data in a Webhook

We are using 3rd party api kraken.io to optimize our images. The results of optimized image is posted in a Webhook. In their api document it states: After the optimization is over Kraken will POST a message to the callback_url specified in your…
Shaiju T
  • 6,201
  • 20
  • 104
  • 196
2
votes
0 answers

How to write Gruntfile for Kraken Image Optimizer

I can't figure out how to write the Gruntfile for Kraken Image Optimizer (not KrakenJs): https://github.com/kraken-io/kraken-node For example, the Gruntfile for grunt-contrib-imagemin looks something like: imagemin: { //…
R'y'a'n
  • 21
  • 2
1
vote
1 answer

Kraken.io image resizing

using Kraken; using Kraken.Http; using Kraken.Model; public void ResizeSelectedImages() { var filesToResize = FilesInFolderListBox.SelectedItems; var connection =…
1
vote
1 answer

Upload an image to kraken.io which saves to amazon s3 using Angular2 and Firebase

The kraken.io docs specify how to save using node and php. I've successfully managed to store images to the amazon bucket but I'm struggling to implement the image optimization part with kraken.io I'm using firebase as a database for now. Is it…
0
votes
0 answers

gulp-kraken not working on subfolders path

creating a task on gulp: imgCompressionTask = () => { return src('dest/**/img/*.*') .pipe(kraken({ key: '', secret: '', lossy: true, concurrency: 6 })) } 'dest/hello/img/*.*' it works, but thats just 1 folder and I need to make it work in…
0
votes
2 answers

Getting this error 'Too many connected components for a page image : ' when using Kraken library in python on an image

I am trying to read a newspaper using OCR using tessaract. Before passing the image to tessaract, I am using Kraken to segment the actual lines and draw a line across the sentences for proper detection by tessaract. When passing the image through…
0
votes
1 answer

Unable to install kraken (image optimizer)

I want to install kraken in my anaconda. So I followed this command got from PyPI - pip install kraken But I end up with an error and that is - Collecting kraken Using cached kraken-2.0.8-py3-none-any.whl (643 kB) Collecting python-bidi …
0
votes
2 answers

Azure function blobtrigger should not trigger on subfolders

I have created a blobtrigger that runs whenever i upload to my container. But since i am going to use kraken to process the image, and then reupload the processed images in a subfolder of the original image. I am unable to figure out how to make…
andrelange91
  • 1,018
  • 3
  • 21
  • 48
0
votes
2 answers

Using curl to post request handle JSON data

I recently work with kraken.io API and I'm trying to integrate this API wuth my PHP CodeIgniter framework. So I followed the documentation but I got stuck when I used curl This is my source code below ..…
-1
votes
3 answers

Why (Kraken) Module Not working in my project?

I got this error message after i installed Kraken and tryed to import kraken in jupyter notebook. ModuleNotFoundError Traceback (most recent call last) in ----> 1 import kraken 2 help(kraken) ModuleNotFoundError: No…