Ubuntu :: Can't Find A Way To Insert An Existing Jpeg File Into Gimp?
Jun 26, 2011I am trying to design a graphic in gimp2.6 image editor and I can't find a way to insert an existing jpeg file into gimp,
View 2 RepliesI am trying to design a graphic in gimp2.6 image editor and I can't find a way to insert an existing jpeg file into gimp,
View 2 RepliesSomewhere along the line I have managed to get the below error when loading a jpeg in the gimp (either with 'open with' on context menu or directly)Running as an unprivileged user
Code:
Calling error for procedure 'file-jpeg-load':
Procedure 'file-jpeg-load' not found
Opening '/home/fortyfourgalena/Desktop/photos/liza/inkosanalodge_20061201/20061201_171151_PC010620.jpg' failed: Procedure 'file-jpeg-load' not found
[code]...
This happens on a system running 10.04 / 64-bit. As I seem to recall a recent gimp update (might be wrong), I checked a 32-bit 10.04 laptop and it does not show the behavior. For information: the 64-bit system has some additional stuff installed for image processing (ufraw and darktable) but I have been using this already for a while without issues. The other main change on this 64-bit system before I noticed the problem was the installation of a geforce 8400 video card including the 'nomodeset' option in grub and install of the latest driver from the nvidia website. verify that the gimp on a 64-bit system is still functioning.Further a 'repair' from within synaptic throws the following error
Code:
E: /var/cache/apt/archives/gimp_2.6.8-2ubuntu1.2_amd64.deb: subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Note: I found some messages regarding this problem on the web but they were referring to older kernels (2.6.8); and people reverted back to an even older kernel. And yes, there have been a recent kernel upgrade.
I'm trying to open jpeg attachments in Thunderbird in Fedora 13, by choosing Gimp 2.6. I browse to Gimp in /etc and there are a number of files in the folder.
Could you please help with the correct path to Gimp to open the attachment jpegs as I am unable to open them at present.
Errors received when trying to use drop shadow plugin..
"Error while executing script-fu-drop-shadow:
Error: eval: unbound variable: gimp-image-insert-layer"
"Plug-In 'Drop Shadow' left image undo in inconsistent state, closing open undo groups"
Given a matrix with 0,1 entries, how can I create a graphic in linux such that we have a black square or pixel if the entry is one and white otherwise?
For example, if the matrix is:
0001000
0011100
0111110
0000000
then I want a graphic that looks like:
[code]....
I will be working with many large matrices, e.g. 1000x1000, or 5000x1000 so I need to do this automatically.
I want to get files header as much as possible which are mostly used so how can i get jpeg file header using C ?
If any other headers of MS Office is possible for U.
I'm trying to compile gimp on ubuntu 9.10 and I'm stuck during the ./configure stage I'm getting the following:
Code:
checking for GLIB - version >= 2.24.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
The config.log complains that it's missing glib.h.
[Code.....
If aptitude shows libglib2.0-dev installed the pc file must exist somewhere.. how to verify that libglib2.0-dev is installed correctly?
I do a lot of artistic stuff, so I need a good graphics program. I think Gimp will be perfectly fine for my needs for the time being, but I can't find the layers box. When I opened it for the first time, only the toolbox and tool options were open, and I can't find anything about the layers. I checked the online manual, and that didn't help at all. I have version 2.6.
View 2 Replies View RelatedI know what the URL of a webpage is and how to find it, but can't figure out how to do it with the screenshot accessory in Ubuntu 9.10. It is easy to use the tool to capture the image of a desktop, but won't let me do anything with the URL to insert it into anywhere!
View 5 Replies View RelatedI've been trying to find a way to take a bunch of jpeg images and while maintaining their quality (no loss at all) compile them in such a way as to make one coherent file. Maybe something like a pdf, but while maintaining quality. I've tried converting to pdf and djvu, but the quality is always reduced, but if you know of a way to preserve quality, I'll use it.An alternative is an image viewer that can look inside archives, so I just make a zip or tgz of the images and then use the image viewer to access them. I've tried a few
View 9 Replies View RelatedIf you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:
Code:
This is a development version of GIMP. Debug messages may appear here.
gimp-user-install: migrating from /home/user/.gimp-2.6
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module>
import gimp, gimpplugin, math
ImportError: No module named gimp .....
If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.
I'm looking for a way to insert the number of lines in a file to the start of the aformentioned file. This should be simple but as I am not used to scripts in Linux, I am finding it tough going. I can find the number of lines in a file easily enough via
filesize=$(awk 'END {print NR}' $1)
but as for inserting this into the first line, i'm failing to do so. I've tried some of the other approaches on these forums but none so far have been able to do so.
I've tried:
sed '1i$filesize' $1
but sed i requires a string, not a variable so no go I've also tried:
mv "$1" "${1}.bak" 2>/dev/null || touch "${1}.bak"
cat $filesize "${1}.bak" >"$1"
but again with no luck as cat seems to need an input stream Just to recap, i want to insert a line at the start of a given file that holds the number of lines the original file has.
ie the file:
a
b
c
d
e
should become:
5
a
b
c
[code].....
Some of you may have had with issues after installing GIMP on Lucid Lynx 10.04. Which may be directly related to "gimp-help-en", which could prevent you from installing other applications and preforming system tasks. If so, use this method to fix it.
Process: (Terminal > $ sudo apt-get install gimp)
1. After installing Gimp go to the terminal:
2. Then load up the language support application:
3. Then it will ask you to install the "gimp-help-en", confirm it.
4. Fix'd
I think this issue is directly linked to a systems with multiple languages, but I haven't been able to test this theory out yet.
i have two files with thousands of line, I am trying to combine these two files but i want to insert each line of one file to the another file after certain lines. I am using awk with the following command but it does not work.cat file1 | awk ' { print $0; if (NR%3004==0) {print "file2"}}' > outputfile
View 14 Replies View RelatedI'm trying to set up a dual boot of Ubuntu & Windows XP.I have two hard disks installed - sda is 80GB and has an existing Windows setup on it, sdb is my 160GB data storage disk.When I have installed Ubuntu on other machines, it has detected any exisiting OS's and offered to install Ubuntu alongside them.
However, this time Windows doesn't seem to be detected - it says 'no other operating systems found' and wants to install to my second (i.e. sdb) disk. I was intending for Ubuntu & Windows to sit side-by-side on the first hard disk.Although I've installed Ubuntu before, I'm a bit of a novice and I'm not sure how to achieve this - where am I going wrong?
is there a way that I can insert a wav file in an email and play when the receiver opens the mail? I don't mean when he clicks on an attachment but when he opens the message file. Using Latest Thunderbird version.
View 1 Replies View RelatedI'm using Lucid and I installed Gimp. When I open it, the thing on the panel shows up saying Gimp is starting, but then it disappears and the window never comes up. When I type gimp in the terminal, it says "gimp: error while loading shared libraries: libgimpwidgets-2.0.so.0: cannot open shared object file: No such file or directory". I can't find a package starting with libgimpwidgets in Synaptic. I added "[URL]" to my /etc/apt/sources.list because I saw something about installing Gimp in Lucid that said to do that, but it hasn't helped. I imagine I just need to get this package from somewhere, but I don't know where.
View 1 Replies View RelatedI would like to store JPG files in a mysql database table. I figured that using BLOB fields on the one hand and the 'load_file' command on the other would do the trick. Here is how I set up the table:
mysql> create table blobtable (id int(10) not null auto_increment,
fileName varchar(15) not null,
file longblob not null, primary key(id) );
Query OK, 0 rows affected (0.51 sec)
Then I tried to enter the data:
mysql> insert into blobtable(filename,file)values('pic',load_file('/var/www/temp/IMGP4764.JPG'));
Which got me the following error signal:
ERROR 1048 (23000): Column 'file' cannot be null
It seems to me that the file path to the JPG file (although correct) is the source of the problem, and is causing the load_file command not to work. My first attempt was with the JPG file in my PC's home directory. When that returned the same error message, I figured that maybe the file had to be in the PC's (server's) web area so I put it under the 'www' directory.
When I copy and paste something from a web site, links to pictures are inserted, not actual pictures.
When I disconnect from the Internet, I cannot see pictures which is annoying.
Do you know how to make LibreOffice copy and paste actual pictures into a Writer document?
I'm a newbie on Linux and had to do something like this with the zip command:
My folder structure inside a zip file abc.zip is code...
It would move into abc.zip as folder3/textfile.txt (the hierarchy preserved)
Also used a -j switch (help said it junked the path info and it did but) - it would move only into abc.zip and sit at the same level as folder1 and folder2 instead of replacing the textfile.txt within abc.zip/folder1
My question is - I want to replace the abc.zip/folder1/textfile.txt with the one inside seconddir/folder3/textfile.txt.
How do I achieve this via the command line interface?
Im looking to use the Apache2 GeoIP mod to block countries from accessing a website. I've searched, but cannot seem to find any information on how to insert the code into the virtual host file. Does anyone know how to get this working or can point me in the right direction?
View 2 Replies View Relatedi want to move the text of a file to another file,using sed command. how can i do it?
View 1 Replies View RelatedI have two files list1.cfg and list2.cfg both files contains differentrecords details like
List1.cfg
NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME LINE2:
CITY:25:C:City:
[code]....
Now I want to append contents list2.cfg to list1.cfg(It ispposible using cat list2.cfg >>list1.cfg) but I want to check if content of (record) in list2.cfg is present in list1.cfg then dont append it otherwise append it.
I'm using fedora 14...i would like to insert few texts to a file in shell prompt(may be useful in scripting for in the future)...for eg,
[root@ruby ~]# cat > hello
1
2
2
[code]....
so in the above file i need to add the line "new line added" near the number 4 in the above file ....how can be this done ...?
I would like to insert a line into the /etc/sysconfig/iptables with a command like sed or with any script. How can I insert this line:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
but under the line "-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT"
I am trying to create a shell script where a user can specify a file with a list of logins and the script will create a batch file with specific information in specific columns.
Example:
loginfile.txt has
User1
User2
User3
I need the output to be as below:
1 User1 Date 12/31/9999
2 User2 Date 12/31/9999
3 User3 Date 12/31/9999
Where the columns are separated as below.
1[tab][tab]User1[tab]date +%D[tab]12/31/9999
2[tab][tab]User2[tab]date +%D[tab]12/31/9999
3[tab][tab]User3[tab]date +%D[tab]12/31/9999
I can use the nl utility to get the numbers easily enough, but I need two tab separations between the number and the user list. Is there a sed command that will insert at the beginning of each line? If so I can just run nl after I get some tabs up in the front.
I want to insert graphics into latex file, for longtime I used xfig to create graphs, but it is limited,specially for math formulas, dia i find not easy to use.Finally I want to try asymptote or tikz which one is more appropriate
View 1 Replies View RelatedI have following file workers file: There are 800 entries like this.
# consensus/uat
worker.consensus-uat1.host=lonlx10409
worker.consensus-uat1.port=13702
worker.consensus-uat1.type=ajp13
[code]....
I want to insert one line just below the line starting with "woker.list". I think sed can do it but I am not aware.
I want to insert the text "DB dept" in the last line of passwd file which looks like this right now
Quote:
newuser:x:717:717::/home/sacharje:/bin/bash
And I want it to be like this:
Quote:
newuser:x:717:717: DB dept:/home/sacharje:/bin/bash
I tried to do that with sed but failed, I'd like to know the proper syntex with sed to achieve this.
I need to be able to edit a file from the commend line as I intend to script this operation, the file is called menu.lst The original is as below
Code:
titleUbuntu 8.04.3 LTS, kernel 2.6.24-24-generic
root(hd0,0)
kernel/boot/vmlinuz-2.6.24-24-generic root=UUID=b09feb23-5524-4ec4-862f-94700b968f64 ro quiet splash
[code]....