01-09-2010
store images into databases or path to file system files ?
hi,
I need a quick information about storing images into mysql databases.
Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ?
thanks
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please excuse me if I asked some stupid questions. I know this has been asked and answered, but I didn't get the answer I need yet.
How do I create a ghost image of a Solaris system? And if I can do so, how do I restore it?
The purpose is (just like in Windows) to restore a clean system when... (3 Replies)
Discussion started by: correro
3 Replies
2. UNIX for Advanced & Expert Users
I'm writing a gui for the core utility shred. I want to be able to warn the user if they are about to shred a file that is on a journaled file system. In order to do this, I must learn the file system type of the path they are about to shred.
Is there a way in Unix to:
1. query a specific... (3 Replies)
Discussion started by: codecellar
3 Replies
3. Shell Programming and Scripting
Hi
I want to compare 2 files. The files have the same amount of rows and columns. So each line must be compare against the other and if one differs from the other, the result of both must be stored in a seperate file.
I am doing this in awk.
Here is my file1:
Blocks... (2 Replies)
Discussion started by: ladyAnne
2 Replies
4. Shell Programming and Scripting
Hi all,
this is output of ls command !!
there is differen different files permission are there , and my requirement is each file permission is stored in different different file.
rwxr-xr-x 1 root root 0 Mar 29 2011 2
-rwxr-xr-x 1 root root 0 Mar 29 2011 20
drwxr-xr-x 2... (3 Replies)
Discussion started by: anishkumarv
3 Replies
5. Shell Programming and Scripting
hello
i have two files
temp.txt
and temp_unique.text
the second file consists the unique fields from the temp.txt file
the strings stored are in the following form
4,4
17,12
15,65
4,4
14,41
15,65
65,89
1254,1298i'm able to run the following script to get the total count of a... (3 Replies)
Discussion started by: vaibhavkorde
3 Replies
6. Solaris
Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
Thanks
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies
7. Shell Programming and Scripting
1)In a particualr path i have a set of inputfiles like
path:/defaultmis/MonthlyLoads/INFA_EXPORT_022013/map*
example:
1)map_de
2)map_cod
3)map_feg
........and so on
in above path there wil be nearly 15 to 20 files starting with map and in other path i have another file input file... (4 Replies)
Discussion started by: katakamvivek
4 Replies
8. Shell Programming and Scripting
How do I go about programming my system? I have access to multiple data bases but no way to operate them (1 Reply)
Discussion started by: C-lo
1 Replies
LEARN ABOUT DEBIAN
metapixel
METAPIXEL(1) METAPIXEL(1)
NAME
metapixel - generator for photomosaics
SYNOPSIS
metapixel-prepare [options] [srcdir] [destdir]
prepares the pictures in srcdir by creating resized images and a table file in destdir
metapixel [options] [--metapixel input.jpg output.png --library destdir]
creates a photomosaic output.png using input.jpg as the input image and destdir/tables.mxt as table file
DESCRIPTION
This manual page documents briefly the metapixel and metapixel-prepare commands. For more information check the README file included in the
distribution.
metapixel is a program for generating photomosaics. It can generate classical photomosaics, in which the source image is viewed as a matrix
of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular
parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images.
metapixel-prepare is a utility that needs to be run before metapixel can be used. It prepares your source images so that they can be used
by metapixel to create the actual photomosaic.
USAGE
metapixel-prepare srcdir destdir has to be run first. srcdir is the path to the directory containing the source images, e.g. ~/Pic-
tures/Holidays. destdir, e.g. ~/.metapixel, is the path to the directory where you want to store the rescaled images and the tables.mxt in-
dex file. This directory should be created manually before running metapixel-prepare.
metapixel --metapixel input.jpg output.png --library destdir is then used to transform an image (input.jpg) into a mosaic (output.png) us-
ing the source images (described by destdir/tables.mxt).
OPTIONS
The options are described in the README file or by running metapixel or metapixel-prepare with the --help option.
SEE ALSO
The README file is included in the Metapixel distribution.
AUTHOR
This manual page was written by Chris Vanden Berghe <Chris@VandenBerghe.org> for the Debian system (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
AUTHOR
Chris Vanden Berghe.
May 5, 2004 METAPIXEL(1)