0

There's a software who export content as image and provide a metadata files giving the X/Y position and X/Y distance from those points to box elements within the image.

In the code, all thoses values are computed as: "coordinate_in_pixel * dpi"

My question: I really don't get what "coordinate_in_pixel * dpi" should mean, as dpi don't relate to pixel as in the previous formula. After looking and asking many people, it makes no sense for me and for the few who get a bit my misunderstanding (all graphist/prepress/etc) to have the previous formula, what am I missing ? What is expressed by that computing ? As it is from an open source software with others exploiting those values, I'm wondering what is expressed by that formula and that I'm missing.

14
  • I realize there may be a language barrier, but I have no clue what is being asked.
    – Scott
    Oct 18, 2020 at 8:46
  • does the formula (distance_in_pixel * dpi) means something ? what does the result represent ? (for me there's a logical error in the previous, but before asserting they're dumb, I really want to make sure I'm not the one missing something ^^) Oct 18, 2020 at 9:23
  • Also edited to remove not pertinent parts and make what I ask more clear Oct 18, 2020 at 9:26
  • DPI traditionally is an acronym for Dots Per Inch and has no relation to any "distance". At least in the design/printing industry. I have never seen "DPI" represent any sort of distance measurement.
    – Scott
    Oct 18, 2020 at 10:27
  • 1
    To me it seems like ndpi is a scaling factor. I wouldn't be surprised if its purpose was mostly to adjust an internal model of the layout to the configurable final output image size. But this makes a question that is much more appropriate for the software authors to answer. Oct 18, 2020 at 13:13

1 Answer 1

0

The formula makes indeed no sense and been confirmed with the developers to be result of unmaintained features being updated to allow compilation and updated over large scale refactoring with low regard to initial logic.

4
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – Circle B
    Oct 19, 2020 at 12:32
  • I'm the author and that's the answer: "it doesn't make any sense" ^^ My question was "what does that means ?", the answer is "nothing outside answering to specific needs that don't rely on any known concept of infographic" as the formula, indeed, is problematic. Oct 19, 2020 at 12:59
  • @Wolff I edited it to reflect that, do you consider the current answer valid and understandable enough ? Oct 19, 2020 at 22:41
  • 1
    Sure, that was what I meant 😀👍.
    – Wolff
    Oct 19, 2020 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.