Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

how algoritm fiting images diferent sized in page(like tiling)

Community Beginner ,
Feb 10, 2018 Feb 10, 2018

how algoritm fiting images diferent sized in page(like tiling).

like below picture.11.JPG

TOPICS
Scripting
472
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2018 Feb 10, 2018

What you're describing is "bin packing", a complex mathematical issue: https://en.wikipedia.org/wiki/Bin_packing_problem​

Because my mathematics knowledge is limited, my understanding is that this demonstrates a mathematical issue of P=NP (P versus NP problem - Wikipedia ) of which if it can be demonstrated with proof, a prize of USD$1 million is on offer - Millennium Prize Problems - Wikipedia

Doesn't mean people haven't given it a try, here's an example in javascript: https://codeincomplete.com/posts/bin-packing/demo/

Some of the advanced scripters might give it a go for a challenge, but as far as I know there's no solution in InDesign that can be downloaded free in the public domain, nor a paid one.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2018 Feb 10, 2018
LATEST

Moving (yet again) to InDesign Scripting

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines