Find Jobs
Hire Freelancers

create an imagemagick script to create hexagon image map

$10-40 USD

Completed
Posted over 3 years ago

$10-40 USD

Paid on delivery
I have a sample image, which I am attaching. I am creating a game, in which the terrain consists of these hexagonal images. The idea is to create a script on imagemagick that creates these maps automatically. For example, a map would have 100 x 100 hexagons. Another map would have 50 x 50 hexagons. (So I need a script, because doing it manually is impractical) The image would need to be with a transparent background, and the edges in black, the less heavy in Kb the better. I know that imagemagick has a function: hexagon pattern . ([login to view URL]) that should make it easier to build the map, but I have no idea how to use this function. The script would be executed in shell-script (bash), in debian linux. The final image ( Hexagon Map ) will be used on a web-site, which will host the game.
Project ID: 28971698

About the project

3 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Olá! Consigo fazer isso para você usando até outras ferramentas se preferir (OpenCV com Python ou C++), mas também consigo fazer usando o Imagemagick. Vamos conversar sobre os detalhes e posso lhe dizer como penso em fazer.
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
3 freelancers are bidding on average $93 USD for this job
User Avatar
UPDATE: some clarifications. Hi there, I'm Matt Sergei (do call me Matt, please) and can help you - yet ImageMagick should not be your tool of choice (I'm a pro scripting it). The hexagon pattern in it is exactly 30x18 pixels in size and if you expand it e.g. for a larger image size the pattern will of course be enlarged and pixelated. My plan is to create - since you need a bash calling option - a Node.js applicaton that will: 1. Accept as input parameters the width and height of the image and also width and the number of hexagons to create (always same number e.g. N x N - then it can be only one number as input). 2. Calculate width/height (e.g. "radius") of one hexagon and draw a hexagon grid to fit the image size. Do note that hexagons usually fit in the image so please expand if they have to cover entire image (e.g. some empty spaces at least in the corners and along the image edges). 3. Export the generated image to SVG or PNG (based on input parameter). PNG can be further optimized using various PNG optimization libraries. 4. You have thicker hexagon edge than in Imagemagick pattern (that cannot be controlled either). Suggesting this as a final parameter in the command line calling a hexagon generation script. So other libraries will be used to create hexagon grid (than ImageMagick). The deliverables will be Node.js application (a folder with a script and command line example to call it) and some generated SVG and PNG images. Regards and hope you're safe, Matt
$190 USD in 3 days
5.0 (2 reviews)
3.7
3.7
User Avatar
create an imagemagick script to create hexagon image map . Hello, I am Nida. I am professionally high skilled. I will do your project in high quality and provide unlimited revisions. I have expertise since 5 years. provide u file in all formats u need. Please check my portfolio: http://www.freelancer.com/u/nidanaveed846 Regards. nida
$40 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BRAZIL
Natal, Brazil
5.0
12
Payment method verified
Member since Jan 6, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.