# editing

## December 2, 2021

Collaborative editing

One of the really great things about the Fediverse is that others are willing to chip in and help. I was working on another article for the Beach Hut [1]. As this was about Mastodon and the Fediverse. I asked for help.

Pasting a draft in to a Disroot [2] pad and then pasting a link in to mastodon so that others could collaborate editing, within an hour the article was pretty much completed with others users connecting and editing.

This was real time collaboration using free software and also open source software tools. The article will now be submitted for hopeful publication in the January 2022 issue.

You can find out more about Mastodon at [3].

References

Tags

## January 10, 2021

Annotating pdf files PDF files are really useful for moving documents around when you 'need' the recipient to be able to open in a pdf reader and see what you intended.

Unless you have access to expensive software you are usually not able to edit these files easily. While LibreOffice draw can perhaps do this, it may not be ideal for the job.

Xournal [1] is a Debian application, that while mostly aimed at touch screens, is able to annotate pdf files as the video below demonstrates.

As mentioned in the video notes, Xournal will export as a .pdf.pdf file, so you may want to rename it when saving. This is not even an issue for me.

Happy to discuss further on Mastodon [2] or on IRC. Please see contact page for details.

References

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License PDF files are really useful to moving documents around when you 'need' the recipient to be able to open in a pdf reader and see what you intended.

Unless you have access to expensive software you are usually not able to edit these files easily. While LibreOffice draw can perhaps do this, it may not be ideal for the job.

Xournal [1] is a Debian application, that while mostly aimed at touch screens, is able to annotate pdf files as the video below demonstrates.

As mentioned in the video notes, Xournal will export as a .pdf.pdf file, so you may want to rename it when saving. This is not even an issue for me.

Happy to discuss further on Mastodon [2] or on IRC. Please see contact page for details.

References

## December 9, 2020

This is a re-post from December 2019

If you create lots of media such as photos or graphics. You may want to add information pertaining to the copyright (or ideally copyleft) of the image.

As I am interested in Creative Commons (CC) then it makes sense to be able to add one of the many creative commons license logos to an image.

I asked on Friendica about how to do this (having tried and failed before) and was provided with some help and a really useful shell script to automate the process.

Firstly we need an image to modify and a logo image to add to this:

Example logo file to insert

For the sake of this article, I am just using a random photo I took of Paignton Geopark. I have also reduced the image size to 640×480 to make it smaller for the website as per command below.

### gm mogrify -resize 640×480 *.JPG

I also had to convert the jpg files to png files with the following

### gm convert DSCF0182mod.jpg DSCF0182mod.png

So that this blog would display the images.

The next step is to create a folder structure to contain what we need to undertake the work.

What we need is a new folder

Inside this, we need another folder called out

### mkdir out

we need some more files mostly the cc logos, these are available from a simple duckduckgo search.

Note if putting on a website or other media you need to properly include the creative commons license being used on here I have put

So what we should have is

\insertcc-logo\insertcc.sh

\insertcc-logo\out

\insertcc-logo\out\88×31.png

\insertcc-logo\out\88×31-sa.png

\insertcc-logo\out\cc-zero.png

etc

Put the SOURCE FILE in \insertcc-logo

MODIFY AND RUN the script below

Our script looks like ( save this as insertcc.sh or what you want to call this )

for p in *.JPG; do convert “$p” ./out/88×31.png -gravity southeast -geometry +10+10 -composite “out/$p”; done


What the script does is take each file with the JPG extension (or other extension), add the required logo, and save the modified file in

\insertcc-logo\out

As per :

You need to make sure that the script points to the correct source files.

You also need to point the script to the correct file you want to insert in to your source image.

for p in *.JPG;

To use a different logo change this section of the script

\$p” ./out/88×31.png