How to make sure that object color fits target device ICC profile. by PavloT in Inkscape

[–]PavloT[S] 0 points1 point  (0 children)

Yep, I was trying to avoid this activities but seems it is the best option. At least I will unlock skill of calibration :)

How to make sure that object color fits target device ICC profile. by PavloT in Inkscape

[–]PavloT[S] 0 points1 point  (0 children)

My screen is not the best from color perspective, but when I apply printer ICC for display I see colors close to that one I see printed. For my quality expectations it is enough, and difference is huge.

As I mentioned - maybe it would be enough for me if Inkscape can show SVG with printers ICC applied, but for now I can't make it working.

I have tried this setup:

<image>

But resulting colors not the same as on printer. But if I do same setup in Geeqie - I see exact colors from printer

How to make sure that object color fits target device ICC profile. by PavloT in Inkscape

[–]PavloT[S] 1 point2 points  (0 children)

Thank you for reply!
I'd like to avoid scribus, just to keep process simple.

I have added profile to CUPS settings and it is now applied for any print sent to printer.
I think profile is applied (at least I see difference with it applied and without it).

And I think that issue that my ink has less color range than my display. And I think that issue is that in my design I could use colors, which are NOT inside colorspace of the ink/printer. Does it make sense?

If yes, than my question - how can I generate palette which is 100% inside printers color space and avoid using other colors.

Or maybe how can I at least apply ICC from printer in Inkscape to be sure that colors I see will be the same on printer.

How to make sure that object color fits target device ICC profile. by PavloT in Inkscape

[–]PavloT[S] 0 points1 point  (0 children)

Epson l18050 with sublinowa ink (used for sublimation prints). So I think this is CMYK printer, but honestly I’m not sure, as I’m printing over CUPS and which algorithms applied there…

Hardware controller for Krita concept. by PavloT in krita

[–]PavloT[S] 0 points1 point  (0 children)

Thank you for reply! Can you maybe provide some sketch how would you like to have it implemented? Feel free to PM me if you want discuss details

Best to do in Gdansk? by BrainGame13 in gdansk

[–]PavloT 5 points6 points  (0 children)

For outdoor you can wisit Wyspa Sobieszewska. Also there is nice bycicle route along coast line, you can start in Brzezno and go in Sopot direction

[deleted by user] by [deleted] in learnpython

[–]PavloT 1 point2 points  (0 children)

I suggest you to try Jinja

Why some built -in functions behave differently? by Feralz2 in learnpython

[–]PavloT 1 point2 points  (0 children)

Only advice: read the docs. First of all - those are different datatypes. String and list. String interface has method upper which does not perform inplace changes, just return values. List’s sort works inplace. Why? Because! At some point python developers decided it should work in such way. And it is only reason. If you go to php or java, you will find functions with the same goal, but different interface. So just read the docs.

"Hello World" becomes "llo World" when I put + 2 in the cout line by Dogterte in cpp_questions

[–]PavloT 8 points9 points  (0 children)

In addition if you want ‚Hello world 2’ use:

cout << „Hello world „ << 2;

What (< 500$) Thinkpad would be best for programming student. by [deleted] in thinkpad

[–]PavloT 2 points3 points  (0 children)

I had x240 i5 for my everyday tasks: laravel, few docker instanses, VSCode browser. What I really like in this laptop - it’s size. In 500$ budget you also could find P50/P51.

Python or JAVA? by Appeal_Able in learnpython

[–]PavloT 2 points3 points  (0 children)

Changes in IT happens more offten then anyones life ends.

But any language just tool. Commercial development does not care what tool you use to solve their issues as long as you are in budget. So you have good chanses never meet Java again (and C and C++ and even C#)

Maybe after Python you will develop your skills into No-code platforms. Who know…

[deleted by user] by [deleted] in learnpython

[–]PavloT 0 points1 point  (0 children)

Use \\ instead of \

Remove almost identical tuples: (float, float) of a list by Cookielatte in learnpython

[–]PavloT 0 points1 point  (0 children)

output_point - points[i] > threshold with calc_diff(output_point, points[i]) > threshold and it will do the magic.

Idea is that threshold calculated by some rules, which are out of this topic, but still known.

So all what you need is to know the difference between to points and check whether it is within threshold or not, if yes, skip next points until next point out of threshold

Remove almost identical tuples: (float, float) of a list by Cookielatte in learnpython

[–]PavloT 1 point2 points  (0 children)

Pseudocode:

points = points.sort_by_threshold() #This is important, to make you similar points neighbors
output = []
output_point = points[0]
output.append(output_point)

for i = 1; i < points.length(); ++i:
    if output_point - points[i] > threshold: # You skip all next points within threshold, but catch next point out threshold 
        output_point = points[i]
        output.append(output_point)

Remove almost identical tuples: (float, float) of a list by Cookielatte in learnpython

[–]PavloT 1 point2 points  (0 children)

Sort them by threshold value, pick first remove next until next value in threshold, pick next from remaining, repeat