AlfK Posted May 27, 2019 Share Posted May 27, 2019 (edited) Hi everyone, This may sound odd but here goes...... I am trying to create text from within Affinity photo app somehow that I can simply copy and then paste into another apps image editor so that it will only paste the text with transparent background. This is what I have tried so far in Affinity photo: - In affinity photo v 1.6.5, created a new transparent pixel image into which I add artistic text required for the other app's built-in image editor. - Use the Copy command from Affinity's main Menu. - go to the other apps image editor, and note that the Paste symbol is now active, so click on it. - result is I have the Affinity's text displayed but it has white background and not the transparent background from Affinity's pixel image. I stress I am new to the graphics world but I am very familiar with computers and Windows Copy/Paste feature Edited May 27, 2019 by AlfK Quote Link to comment Share on other sites More sharing options...
v_kyr Posted May 27, 2019 Share Posted May 27, 2019 Does the other app support transparency or have place a white background as default? You can try what happens when you export as SVG or PNG with transparency and then import into the other app, as far as that supports those formats. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 Thanks for the response, however cannot use other app as you suggest (which is not a graphic app as such and is only a simple pixel editor that I use within a train control app called Railroad and Co for control of my model railway).So this is why I am trying to use windows copy/paste to 'bring in' the text I want to use with the other's app's simple pixel editor, and canot open a file from within this editor unfortunately. Quote Link to comment Share on other sites More sharing options...
John Rostron Posted May 27, 2019 Share Posted May 27, 2019 Try this: Rasterize your image (text), Use the Flood select tool to select all the non-text areas, (make sure that 'contiguous' is not selected, Invert the pixel selection (Select > Invert Pixel Selection), You should now have just your text selected. Now copy this (Ctrl-C) Paste into your other editor. John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 Yes, other image editor starts with a transparent blank image with which to add coloured pixels, or paste other 'clipboard copied' image onto the transparent blank image, but when I paste Affinity's text it has a white background and I would have to edit out and replace the white pixels with transparent ones within the simple image editor..........which I could do, but as I want to have about a dozen or so words of text on several different images, would take a while and I thought I could use affinity to save time? Quote Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 Okay John, replies are coming in thick and fast as I am typing replies to everyone, will try what you say John Rostron 1 Quote Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 John, Managed to follow what you suggest and Affinity shows a dotted line around just the text and after copying via Ctrl-C and going to my railway app's image editor and pasting it still has a white background? Snipping tool capture of what I am saying attached. John Rostron 1 Quote Link to comment Share on other sites More sharing options...
HVDB Photography Posted May 27, 2019 Share Posted May 27, 2019 CTRL click the thumbnail of the artistic text layer to make a selection CTRl +C to copy the clipboard In GIMP 2.10, CTRL+V to paste = text with transparency !! Quote Affinity Photo 2.3.1 Laptop MSI Prestige PS42 Windows 11 Home 23H2 (Build 22631.3007) - Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz 2.00 GHz - RAM 16,0 GB Link to comment Share on other sites More sharing options...
John Rostron Posted May 27, 2019 Share Posted May 27, 2019 2 hours ago, AlfK said: Managed to follow what you suggest and Affinity shows a dotted line around just the text and after copying via Ctrl-C and going to my railway app's image editor and pasting it still has a white background? The fact that Affinity shows a dotted line around your text (marching ants) implies that just the text has been selected. It would seem that it is your target program that is filling in the white background. John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 Yes I think you are correct and it is how my app sees the pasted text!! Tried your way of using GIMP to paste the text from Affinity into, and it shows light & dark grey squares behind the text (not white box) which I think means transparency? Unfortunately I have to use my app's image editor to do what I am trying to do, so end of topic it seems? Thanks everyone for the great help Quote Link to comment Share on other sites More sharing options...
gdenby Posted May 27, 2019 Share Posted May 27, 2019 I couldn't find any docs on the "TrainController" image editing module. My guess is that it can deal w. transparent .gif files. Affinity will export .gif, but not w. transparency. Perhaps export as .png w. transparency from affinity, then open in GIMP, and export as .gif, and then copy into the "TrainController." Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
AlfK Posted May 27, 2019 Author Share Posted May 27, 2019 Thanks everyone for the additional ideas, both sound feasible Give me a day or so to experiment a bit more, and will feed back my results asap. Quote Link to comment Share on other sites More sharing options...
R C-R Posted May 27, 2019 Share Posted May 27, 2019 3 hours ago, gdenby said: Affinity will export .gif, but not w. transparency. Are you sure about that? From the few quick (but far from comprehensive) tests I tried, as long as More > Matte is set to no color (the white box with the red slash through it) & the document includes some less than 100% opaque areas, in the exported gif those areas effectively are transparent. However, there is no partial transparency, so even an area that is 99% opaque is exported as 100% transparent, limiting the usefulness of the export. Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
v_kyr Posted May 28, 2019 Share Posted May 28, 2019 According to this ... Quote DE TrainController™Bronzesetzt voraus, dass die Bilddaten in einem bestimmten Format gespeichert sind und auf ein bestimmtes Maß skaliert worden sind. Die Bilder müssen zu den Verhältnissen der Bildschirmanzeige von TrainController™Bronze passen. Außerdem sollen die Bilder verschiedener Loks und Züge maßstäblich zueinander passen, unabhängig davon, woher sie ursprünglich stammen. TrainAnimator™sorgt dafür, dass die Bilder entsprechend vorbereitet werden.TrainAnimator™kann verschiedene Bildformate verarbeiten, u.a. Bitmap, JPEG oder GIF. Das Programm kann außerdem auch auf Bilder zugreifen, die in Programmdateien (.EXE und .DLL) oder Bildschirmschonern (.SCR) gespeichert sind. TrainAnimator™wandelt die unter-schiedlichen Bildformate und –Maßstäbe in ein einheitliches und maßstäblich angepass-tes Format um, das von TrainController™Bronzedirekt verwendet werden kann. EN TrainController ™ Bronze requires the image data to be stored in a specific format and scaled to a specific size. The images must match the proportions of the screen display of TrainController ™ bronze pens. In addition, the images of different locomotives and trains to scale to match, regardless of where they originally come from. TrainAnimator ™ ensures that the images are prepared accordingly. TrainAnimator ™ can process various image formats, i.a. Bitmap, JPEG or GIF. The program can also access images stored in program files (.EXE and .DLL) or screensavers (.SCR). TrainAnimator ™ transforms the various image formats and scales into a consistent and scaled-up format that TrainController ™ Bronzedirect can use. ... the software uses JPG/GIF. - See also ... https://www.1zu160.net/digital/digital-railroad2.php Quote ...Passende Icons zu den Lokomotiven und Zügen können mit dem kostenlosen Programm Railroad & Co. TrainAnimator erstellt werden. Über dieses Programm können alle gängigen Bildformate in geeignete und größenrichtig zueinander passende Icons gebracht werden. Sofern man von seinen Modellen auch Bilder mit einfarbigen Hintergrund hat, kann diese Hintergrundfarbe transparent gestellt werden, sodass nur noch die Lokomotive selbst sichtbar ist.... EN Matching icons to the locomotives and trains can be created with the free program Railroad & Co. TrainAnimator. Using this program, all popular image formats can be brought into suitable icons that match each other in the right size.If one of his models also pictures with a monochrome background, this background color can be made transparent, so that only the locomotive itself is visible. Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
gdenby Posted May 28, 2019 Share Posted May 28, 2019 11 hours ago, R C-R said: Are you sure about that? From the few quick (but far from comprehensive) tests I tried, as long as More > Matte is set to no color (the white box with the red slash through it) & the document includes some less than 100% opaque areas, in the exported gif those areas effectively are transparent. However, there is no partial transparency, so even an area that is 99% opaque is exported as 100% transparent, limiting the usefulness of the export. I'm missing something somewhere. When I go to export, and look at the gif export options, I only get a color choice for matte. .png defaults to a box w. a red slash. Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
walt.farrell Posted May 28, 2019 Share Posted May 28, 2019 21 minutes ago, gdenby said: I'm missing something somewhere. When I go to export, and look at the gif export options, I only get a color choice for matte. .png defaults to a box w. a red slash. I just tried it and my Matte color for exporting a .gif came up as white with a red slash (i.e., no color). Clicking on it gives a color wheel with the usual choices, as well as a "no color" icon above the wheel. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
R C-R Posted May 28, 2019 Share Posted May 28, 2019 42 minutes ago, gdenby said: I'm missing something somewhere. When I go to export, and look at the gif export options, I only get a color choice for matte. .png defaults to a box w. a red slash. In the "More" panel for gif exports: Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
gdenby Posted May 28, 2019 Share Posted May 28, 2019 The problem was associated w. exporting in grey scale. If working in RGB, the matte no fill box is the default. Not available in greyscale. R C-R 1 Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
R C-R Posted May 28, 2019 Share Posted May 28, 2019 10 minutes ago, gdenby said: The problem was associated w. exporting in grey scale. If working in RGB, the matte no fill box is the default. Not available in greyscale. I see what you mean: if one opts for the "GIF Greyscale" preset, regardless of how the document "Pixel Format" & "ICC profile" options are set, after clicking on the Matte fill box, the small fill choice next to the eyedropper does not offer the "no color" choice. I think that qualifies as a bug & you should report it. gdenby 1 Quote All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7 Link to comment Share on other sites More sharing options...
gdenby Posted May 28, 2019 Share Posted May 28, 2019 In the morning... Quote iMac 27" Retina, c. 2015: OS X 10.11.5: 3.3 GHz I c-5: 32 Gb, AMD Radeon R9 M290 2048 Mb iPad 12.9" Retina, iOS 10, 512 Gb, Apple pencil Huion WH1409 tablet Link to comment Share on other sites More sharing options...
AlfK Posted May 29, 2019 Author Share Posted May 29, 2019 To V-KYR As you have tried to investigate a bit more into images within Train controller (TC).....thank you for that, I will explain more as to what I am trying to use the built in image editor of TC: It is not for images of my locos, for which I am fully conversant at importing Gif, Bmp Jpg files into, but trying to create bespoke button images for my switchboard graphic that actually controls the layout visually, which you will not (I think) be able to look into unless you are a TC user? As to all the other replies........ I'm afraid content is all beyond my level of graphics know-how!!?? but feel free to carry on, some of it may 'stick' Quote Link to comment Share on other sites More sharing options...
AlfK Posted June 5, 2019 Author Share Posted June 5, 2019 On 5/27/2019 at 6:33 PM, BofG said: Can you do the compositing in Affinity and then just paste the completed image into your train program? As in put the image you want the text to sit on into Affinity, add your text then just paste that whole image back into the train app. Thanks everyone managed to do what I wanted by using BofG's suggestion........ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.