Comments (3)
Let me take this~
Do you mean there would be bold lined squares that enclose 100 small squares inside?
from image2pattern.
Sounds like you have the idea, so go for it.
from image2pattern.
#5 addresses this question using additional squares over the top of the existing grid to add the emphasis. This is a pretty straight forward approach similar to what I had envisioned. But those don't make it across the page jumps and the code to do so is likely to be a bit confusing to maintain.
#9 addresses this question by shifting the squares within the image a pixel so the borders for two squares show and give us the effect we want. This has the advantage of reducing extra elements in the image and ensuring that all boxes remain 10x10. But that means we need to redo the image size calculation because each 10 rows introduces an off-by-one error since the boxes don't overlap. That image size would ideally be based on the PDF page size and will add complexity to that calculation (which isn't currently correct #2).
So both are helpful but neither works quite right. I'm inclined to with fix #5 by using lines over the top of the grid instead of extra squares. The position of those should be easy to calculate. If there is a solution to the image size calculation that is more straight forward than what I'm thinking than I'd be happy with that approach since it will probably work better with the symbols needed for #7.
from image2pattern.
Related Issues (19)
- Build scripts
- Embed font with better UTF-8 Support HOT 2
- Refactor image processing to improve index building HOT 1
- Add color swatch to index on last page. HOT 4
- Add image editing
- Add unit tests HOT 4
- CircleCI output files
- Fix image size on pages
- Errors getting caught instead of exposed by test script HOT 2
- Add support for picking page size.
- The prep image process should remove white space from image edges
- Trim extra white space from the edge of monochrome patterns.
- Resolve file handling on Windows 10 HOT 1
- Refactor scripts in tests directory to be proper tests HOT 4
- Would be great to see some examples in the read me HOT 1
- Add thread index to color patterns HOT 1
- Support b&w printing of color patterns
- Update file paths to use node's path module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image2pattern.