What is DPC ? Do i need this feature?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
richkingy
Posts: 1
Joined: 2016-06-28T15:48:57-07:00
Authentication code: 1151

What is DPC ? Do i need this feature?

Post by richkingy » 2016-06-28T15:52:25-07:00

Hi Guys,

This might be a bit of an amateur question but I'm doing some basic benchmarking of different ImageMagick configurations on our server and as part of this I'm disabling various features.

I've got my configuration down to these two.
FEATURES = DPC OpenMP

Can someone explain what DPC is? Do I need this? And how can it be disabled?
I've tried ./configure --disable-dpc and searched the Google machine but not finding anything about DPC.

Cheers,

Richard.

snibgo
Posts: 12163
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: What is DPC ? Do i need this feature?

Post by snibgo » 2016-06-29T01:49:42-07:00

I think DPC in that context is Distributed Pixel Cache. See http://www.imagemagick.org/script/architecture.php

That feature flag is set in configure, after checking for socket support. I can't see what configure option will stop this from happening.
snibgo's IM pages: im.snibgo.com

cancerberosgx
Posts: 10
Joined: 2019-07-02T18:53:00-07:00
Authentication code: 1152

Re: What is DPC ? Do i need this feature?

Post by cancerberosgx » 2019-08-13T14:02:28-07:00

snibgo wrote:
2016-06-29T01:49:42-07:00
I think DPC in that context is Distributed Pixel Cache. See http://www.imagemagick.org/script/architecture.php

That feature flag is set in configure, after checking for socket support. I can't see what configure option will stop this from happening.
I'm not sure... in configure.ac it just checks for socket library.

Code: Select all

#
# Find socket library
#
AC_SEARCH_LIBS(gethostbyname, resolv nsl)
AC_SEARCH_LIBS(socket, socket,
[
  AC_DEFINE([HAVE_SOCKET],[1],[Define to 1 if you have socket support.])
  MAGICK_FEATURES="DPC $MAGICK_FEATURES"
])
In my case, this was not enabled until now (using latest IM master) I changed just

Code: Select all

  --with-quantum-depth=8 --enable-hdri=no
 
and this is now enabled (instead of hdri)

Code: Select all

    FEATURES        = DPC Cipher
    DELEGATES       = mpeg fftw freetype jng jpeg lcms openjp2 png raw tiff webp zlib
==============================================================================
This is another context I found the this acronym (networking) - Would be awesome if somebody could clarify this since probably I don't need this feature or at least I would like what's it (in my case is particulary important to control enabled features). Thanks

https://developer.android.com/work/dpc/logging
This document explains how a device policy controller (DPC) logs network activity. Continue reading to learn how to add network logging to your DPC.

User avatar
fmw42
Posts: 25577
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: What is DPC ? Do i need this feature?

Post by fmw42 » 2019-08-13T14:10:52-07:00

I don't think it is the latter. I agree with snibgo - Distributed Pixel Cache.

cancerberosgx
Posts: 10
Joined: 2019-07-02T18:53:00-07:00
Authentication code: 1152

Re: What is DPC ? Do i need this feature?

Post by cancerberosgx » 2019-08-13T16:56:23-07:00

Thanks! previous was the output of ./configure but then when I run `convert -version` it doesn't say anything about DPC so I guess that caused my confusion.

Post Reply