Skip to content

keogram --image-expand #909

Answered by AndreasLMeg
pablo-blake asked this question in Q&A
Jan 11, 2022 · 7 comments · 9 replies
Discussion options

You must be logged in to vote

@pablo-blake @EricClaeys

this code change will bring you better results. (untested)

Is it possible for you to test this code change ?

		// expand ?
		if (cf->img_expand) {
			cf->num_img_expand = std::max(1, (int) (imagesrc.cols / (float) nfiles));
			if (((float)(cf->num_img_expand * nfiles) / imagesrc.cols) < 0.8) // minimal size 0.8 * imagesrc.cols 
				cf->num_img_expand++;
		}

Replies: 7 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@pablo-blake
Comment options

@pablo-blake
Comment options

Comment options

You must be logged in to vote
1 reply
@pablo-blake
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pablo-blake
Comment options

Answer selected by pablo-blake
Comment options

You must be logged in to vote
5 replies
@pablo-blake
Comment options

@AndreasLMeg
Comment options

@pablo-blake
Comment options

@EricClaeys
Comment options

@pablo-blake
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants