Jump to content
You must now use your email address to sign in [click for more info] ×

White outline around every pixel


Recommended Posts

hmm does not work for me:

image.thumb.png.92a9cedc58a23b571c4e72decd5cfddf.png

16by11ysmall.afphoto 16by11ysmall.svg

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Just now, Wosven said:

It works on the PNG export, not the SVG (see my screenshots, each app displays the lines also).

Ok, missed that part. Is AI able to export to SVG without showing gaps?

 

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

1 minute ago, manfred11 said:

svg still showing thin lines

image.thumb.png.c58bf89ca51e5b8cff74b2365fb157d8.png

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Since AD isn't scriptable, you can also modify the SVG using regular expressions (perhaps in APub), to add a stroke of the same color as the fill to each square.

First, I check exporting a square with a stroke to get the right code

2021-09-05_185508.png.b0db044e216e5cf3cc88ff665a6b5c17.png

And I use a regular expression to modify all the squares.

Before:

2021-09-05_190025.png.714e1d252d3d431bfd96d247fd4fe03b.png

After:

2021-09-05_190210.png.edfbac6e778c83b3e213e7b99b78499f.png

 

Result:

OrangeGrungyBackground_stroke.svg

 

 

 

Link to comment
Share on other sites

Going back to the original green file IseeU Copy.afdesign

SVG (for export) produces this

    <rect x="-105.151" y="-87.571" width="1757.27" height="1230.21" style="fill:white;"/>
    <g>
        <g transform="matrix(0.988947,0,0,1.03549,0,1000)">
            <rect x="0" y="0" width="101.118" height="96.573" style="fill:rgb(218,249,244);"/>
        </g>
        <g transform="matrix(0.988947,0,0,1.03549,100,1000)">
            <rect x="0" y="0" width="101.118" height="96.573" style="fill:rgb(209,244,235);"/>
        </g>
        
However if Flatten transforms is ticked in the More options then you'll get this


    <rect x="-105.151" y="-87.571" width="1757.27" height="1230.21" style="fill:white;"/>
    <g>
        <rect x="0" y="1000" width="100" height="100" style="fill:rgb(218,249,244);"/>
        <rect x="100" y="1000" width="100" height="100" style="fill:rgb(209,244,235);"/>
        <rect x="300" y="1000" width="100" height="100" style="fill:rgb(203,240,228);"/>
        <rect x="200" y="1000" width="100" height="100" style="fill:rgb(207,243,233);"/>
        <rect x="400" y="1000" width="100" height="100" style="fill:rgb(199,238,224);"/>
        <rect x="500" y="1000" width="100" height="100" style="fill:rgb(195,235,220);"/>
        <rect x="700" y="1000" width="100" height="100" style="fill:rgb(195,235,220);"/>

which is a bit more understandable for 100 x 100px squares on 100px pitch

This file opens in Inkscape and produces a perfect png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Link to comment
Share on other sites

I am joining this conversation late so sorry if it has moved on from this but you are not comparing eggs with eggs here, the adobe image has been exported at 5 times the pixel resolution. Change you DPI for the document.

A205DF6B-E35E-496A-AA1B-0982D1E3855D.png

79A39785-EC52-433D-81D8-29940CFB710B.png

 

My dad always told me, a bad workman always blames their tools….

Just waiting for Ronny Pickering…..

Affinity Photo, Designer, Publisher 1.10 and 2.4 on macOS Sonoma 14 on M1 Mac Mini 16GB 1TB
Affinity Photo, Designer, Publisher 1.10 and 2.4 on Windows 10 Pro. Deceased
Affinity Photo, Designer, Publisher 2.4 on M1 iPad Pro 11” on iPadOS 17.4 
 

https://www.facebook.com/groups/AffinityForiPad

https://www.facebook.com/groups/AffinityPhoto/

The hardest link to find https://affinity.help

Link to comment
Share on other sites

On 9/7/2021 at 3:48 AM, manfred11 said:

I’ve got the solution here on the forum by now.

since,I have perfect exports.

Exporting to SVG using flatten transforms still shows bleed through for me.

DA0FFB6C-DBA9-45CB-95A6-081AA00E392E.jpeg

M1 IPad Air 10.9/256GB   lpadOS 17.1.1 Apple Pencil (2nd gen).
Affinity Photo 1.10.5 Affinity Design 1.10.5 
Affinity Publisher 2, Affinity Designer 2, Affinity Photo 2 and betas.

Official Online iPad Help documents (multi-lingual) here: https://affinity.https://affinity.help/ 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.