Search found 11604 matches

by snibgo
2019-05-26T10:16:31-07:00
Forum: Consulting
Topic: Paid: Check if gif is inside Instagram Story
Replies: 2
Views: 66

Re: Paid: Check if gif is inside Instagram Story

This means the application will require a small amount of work to transfer those videos into GIFs ... Do you really want that step? GIFs can store only 256 colours, so a frame with more than 256 colours will eliminate some colours, possibly causing the following search to fail. Is the GIF the same ...
by snibgo
2019-05-25T04:46:53-07:00
Forum: Users
Topic: Optimize dark (gray) image for OCR
Replies: 4
Views: 119

Re: Optimize dark (gray) image for OCR

Instead of "-black-threshold 13% -white-threshold 12.9%", you could use "-threshold 12.95%".

In my experience of Tesseract, it works best when the height of capital letters such as ACSB is at least 20 pixels. Yours are only 8 pixels high.
by snibgo
2019-05-25T04:22:32-07:00
Forum: Users
Topic: CMYK jpg to sRGB png
Replies: 19
Views: 746

Re: CMYK jpg to sRGB png

pdfimages is a program available for many Unix distributions, and Cygwin for Windows. It directly extracts images that are embedded in PDF files, without changing them. Sadly, ICC profiles don't survive the process of writing the PDF then reading from it. By contrast, IM makes raster images from PDF...
by snibgo
2019-05-25T04:02:01-07:00
Forum: Users
Topic: Writing Lettering on Directory Sign
Replies: 2
Views: 96

Re: Writing Lettering on Directory Sign

Something like this, Windows BAT syntax: %IMG7%magick ^ -pointsize 65 ^ -background None ^ label:"snibgo, inc" ^ -gravity West ^ -extent 1000x100 ^ +distort perspective ^ 0,0,185,727,^ 0,99,185,783,^ 999,0,470,671,^ 999,99,470,716 ^ Directory-10-slats-side.jpg ^ +swap ^ -compose Over -layers merge ^...
by snibgo
2019-05-24T16:14:26-07:00
Forum: Magick.NET
Topic: How to get the dominant color in an image?
Replies: 4
Views: 114

Re: How to get the dominant color in an image?

What do you mean by "dominant colour"? Perhaps you can link to sample images and tell us what the dominant colour is.
by snibgo
2019-05-23T09:38:36-07:00
Forum: Magick.NET
Topic: How to fit image sizes correctly
Replies: 14
Views: 315

Re: How to fit image sizes correctly

GoncaloM wrote:But I'm having some issues with the resize.

I want this! Or this!
Your first "want" has added pixels at the top and bottom. Use "-extent", not resize.

Your second "want" has cropped pixels from both sides. Use "-crop", not resize.
by snibgo
2019-05-23T06:01:52-07:00
Forum: Users
Topic: How to combine images side by side with ImageMagick Windows command line?
Replies: 1
Views: 67

Re: How to combine images side by side with ImageMagick Windows command line?

See the documentation http://www.imagemagick.org/script/comma ... php#append . "-append" does top-to-bottom and "+append" does left-to-right. So:

Code: Select all

magick 1.png 2.png +append 3.png -append out.png
by snibgo
2019-05-23T05:42:05-07:00
Forum: Users
Topic: Alpha channel differences between v6 and v7
Replies: 2
Views: 92

Re: Alpha channel differences between v6 and v7

Alpha processing has changed in v7. See http://www.imagemagick.org/script/porting.php The document http://www.imagemagick.org/script/command-line-options.php#alpha under "-alpha extract" says: and turns 'Off' the image's transparency, ... The alpha channel data is left intact just deactivated. I thi...
by snibgo
2019-05-23T04:27:26-07:00
Forum: Users
Topic: searching for presence of a unique color in security cams to catch a bicycle thief
Replies: 1
Views: 66

Re: searching for presence of a unique color in security cams to catch a bicycle thief

In theory, yes. In practise there are some problems. Daylight varies in intensity and "temperature", which is roughly the ratio between red and blue wavelengths. The bike might be in shade or sunshine. Bikes are made of tubes, and part of each tube may be in sunshine while another part is in shade. ...
by snibgo
2019-05-22T18:01:58-07:00
Forum: Users
Topic: CMYK jpg to sRGB png
Replies: 19
Views: 746

Re: CMYK jpg to sRGB png

By "the colours in bfoz014_1.jpg are screwed up", I meant that when converting that CMYK JPG to sRGB, I can't get the colours to be close to your "correct" version. For example, the woman's shoulder pads are dull green in the "correct" version, but brown (dull yellow) when converted from the CMYK JP...
by snibgo
2019-05-22T16:13:16-07:00
Forum: Developers
Topic: support for raw 16-bit RGB565
Replies: 6
Views: 213

Re: support for raw 16-bit RGB565

What is the format of "Loading Default.2rawdata"? Perhaps it is 8 bits/channel/pixel, so you need "-depth 8" before reading it.
by snibgo
2019-05-22T09:22:52-07:00
Forum: Users
Topic: CMYK jpg to sRGB png
Replies: 19
Views: 746

Re: CMYK jpg to sRGB png

Compared to CorrectColors.png, the colors in bfoz014_1.jpg are screwed up, beyond a simple profile mismatch. How was the jpg image made? From the png file? How do you know the png file is "correct? Curiously, if I display it with a little Java program it looks correct. It might help if you show that...
by snibgo
2019-05-22T06:31:59-07:00
Forum: Bugs
Topic: Conversion from PDF to PNG invalid text after render
Replies: 2
Views: 120

Re: Conversion from PDF to PNG invalid text after render

cristiandl wrote:if I open the PDF with Word the fornts are Courier and Arial.
But Word may have substituted fonts. What does Adobe Acrobat Reader say about the fonts?
by snibgo
2019-05-22T03:44:45-07:00
Forum: Users
Topic: Creating Mask files from connected-compoents
Replies: 2
Views: 128

Re: Creating Mask files from connected-compoents

If you want one image per component, you will need a shell loop after first listing the components. Within that loop, you could re-run the connected components for a single id-number. Alternatively, use the first run to create unique colours, one per component. Then loop through those colours, isola...
by snibgo
2019-05-21T17:36:24-07:00
Forum: Users
Topic: How to match colors with GIMP when converting PDF?
Replies: 10
Views: 296

Re: How to match colors with GIMP when converting PDF?

theweakestlink wrote:Would it help for me to post the entire verbose "identify" data for the "good" and "bad" images?
That might help, with the commands that made both images. I notice that neither of your snips have embedded ICC profiles.