Displaying 20 results from an estimated 20 matches for "image_fil".
Did you mean:
image_file
2005 Nov 23
1
assign() problem
...what could be wrong, when I do it on the commandline everything works
out just fine. But within the function it doesn't. When I disable the
assign statement, everything runs fine so the rest of the code should be
clean.
My code:
# Wavelet multiresolution decomposition
wmra <- function(image_file){
#require(rimage)
require(wavethresh)
#reading image file and converting it to grayscale
#dimage <- read.jpeg(image_file)
#dimage <- imagematrix(dimage)
# discrete wavelet decomposition
imwdImage <- imwd(image_file)
# get a value for the number of decomposition levels
#nlevels <- i...
2020 Jun 30
2
fdisk boot partition
I am trying to use CentOS 8 host to boot an image (OS X) that I created
using dd.
First I tried fdisk -l image_file.img - all looks good so
I did fdisk image_file.img - this works - but seems in CentOS 8 fdisk
there is no longer a
toggle bootable flag option.
How do I do that ?
Thanks,
Jerry
2006 Feb 19
2
Prototype Ajax + File Uploading-- How?
...g sent at all, or if it is,
Rails has absolutely no idea. The form itself heads with:
<form onsubmit="new Ajax.Request(''create'', {onSuccess: postNew, parameters:
Form.serialize(this)} ); return false;">
<input type="file" name="if" id="image_file">
.....
</form>
The logs show everything else getting submitted normally, but I''m not seeing
params[:if] or params[:image_file] (not sure which I should expect, but
neither are there), nor am I seeing anything in the logs from the running
fastcgi install;
Processing AdminI...
2020 Jul 01
1
fdisk boot partition
...5 PM, John Pierce <jhn.pierce at gmail.com> wrote:
>
> On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis <jerry.geis at gmail.com> wrote:
>
>> I am trying to use CentOS 8 host to boot an image (OS X) that I created
>> using dd.
>>
>> First I tried fdisk -l image_file.img ...
>
>
> fdisk has been deprecated for quite a long time, I think parted is the
> preferred command line tool now.
Even to the extent that it works, it?d only support MBR partitioning, and you almost certainly want GPT for a macOS boot image.
?and then ?bootable? flags go out...
2006 Jun 27
2
Serve an image up from an action
...eing stored in a NON application folder (I do not want
users to be able to access them directly...I want the retrieval of the
images to be controlled by an action.
I have an action in one of my controllers that looks something like
this:
def serve_user_image
@user = session[:user]
image_file = File.new(@user.image_filename, "rb")
send_data image_file, :filename => @user.image_filename, :type =>
"image/jpeg", :disposition => "inline"
end
And inside my view, something like this:
<%= image_tag url_for(:action => "serve_user_...
2008 Sep 18
2
Setting up Fleximage
...%>
<p>
<b>Name</b><br />
<%= f.text_field :name %>
</p>
<p>
<b>Author</b><br />
<%= f.text_field :author %>
</p>
<p>
<b>Upload Image</b><br />
<%= f.file_field :image_file %><br />
or URL: <%= f.text_field :image_file_url %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message be...
2007 Mar 28
3
attachment_fu Not Resizing
Hello,
Recently attachment_fu stopped resizing images for me. I''m puzzled
because before today it was resizing them and I don''t know what''s
changed. Here''s my code:
class Product < ActiveRecord::Base
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 18.megabytes,
2007 Jun 18
4
Images outside the site
I''m developing a site that will need to display images that will be stored in a location outside the site. What would be the easiest way to do this? The site will be running on a linux machine.
Thanks,
Will
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
2011 Apr 29
3
running libguestfs as a service?
...at each GuestFS() instance called
from within the python daemon doesn't terminate itself (until a
timeout much later?). I believe this sometimes causes my image edits
to clobber each other and corrupt the image now and then. Each image
edit usually amounts to:
g = guestfs.GuestFS()
g.add_drive(image_file)
g.launch()
g.mount("/dev/vda1", "/")
g.write(file_name, file_contents)
g.sync()
g.umount_all()
g.close()
del g
As I understand things, there is a reference count that should close
"g" once the reference count = 0. However, I can't seem to make that
happen insid...
2006 Aug 11
0
File column and rmagick not creating resizing some images
...RoR app. The problem is that only images larger
than the dimensions specified in my code will resize. For instance, if
the uploaded image is 98x98, then the new images will remain that size.
How can I enlarge images using file_column and rmagick?
Here is the code in my model:
file_column :image_file, :magick => { :versions => {
:thumb => {:size => "100x100>"},
:medium => {:size => "640x480>"}
}
}
--
Posted via http://www.ruby-forum.com/.
2020 Jun 30
0
fdisk boot partition
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis <jerry.geis at gmail.com> wrote:
> I am trying to use CentOS 8 host to boot an image (OS X) that I created
> using dd.
>
> First I tried fdisk -l image_file.img ...
fdisk has been deprecated for quite a long time, I think parted is the
preferred command line tool now.
--
-john r pierce
recycling used bits in santa cruz
2013 May 27
0
[Question] How to restore btrfs raid0 image file?
Hi,
So the case is, now I''ve got a btrfs image file, which is created from a
raid0 btrfs fs.
And if I run ''btrfs-image -r image_file /dev/sdf'', then I have to mount
it with ''degraded'' mode, and that still fails because raid0 requires two
disks at least.
So any ideas how to make it work?
thanks,
liubo
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a...
2015 Jul 25
0
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
...objects are very different
As you can see lib.exe generates a very simple function import object.
IMPORT_OBJECT[1-N]
-> contains an IMPORT_OBJECT_HEADER and DATA
data example -> _MessageBoxA.USER32.dll
dlltool however doesn't create an import object but infact has a complete
IMAGE_FILE
IMPORT_OBJECT[1-N]
-> contains an IMAGE_FILE_HEADER and is a full object with SECTIONS
the .text section has the stub code.
the .idata$6 section has the name of the function
it starts with 0x01 0x4D then MessageBoxA without an underscore
The dll is not referenced and is a...
2016 Nov 09
0
[PATCH] filearch: Add s390 and s390x detection and tests.
...error (g, "file_architecture: unknown S/390 bit size: %s", bits);
+ return NULL;
+ }
+ }
else
r = elf_arch;
diff --git a/test-data/Makefile.am b/test-data/Makefile.am
index 86cd5a2..0ac7354 100644
--- a/test-data/Makefile.am
+++ b/test-data/Makefile.am
@@ -42,6 +42,7 @@ image_files = \
$(srcdir)/binaries/bin-ppc64-dynamic \
$(srcdir)/binaries/bin-ppc64le-dynamic \
$(srcdir)/binaries/bin-riscv64-dynamic \
+ $(srcdir)/binaries/bin-s390x-dynamic \
$(srcdir)/binaries/bin-sparc-dynamic \
$(srcdir)/binaries/bin-win32.exe \
$(srcdir)/binaries/bin-win64.exe \
@@ -54,6 +...
2015 Jul 24
2
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
After some more digging and creating a few testcases in lld I have narrowed
it down to
The fact that dlltool generates
Contents of section .idata$7:
0000 55534552 33322e64 6c6c0000 USER32.dll..
Where as lld expects
Contents of section .idata$6:
0000 55534552 33322e64 6c6c0000 USER32.dll..
I recreated the hello64.test using dlltool for the lib and here is the
asm dump of
2016 Sep 14
5
[PATCH 1/2] filearch: Add RISC-V architecture.
---
src/filearch.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/filearch.c b/src/filearch.c
index 5985b73..cbc8372 100644
--- a/src/filearch.c
+++ b/src/filearch.c
@@ -56,14 +56,16 @@ cleanup_magic_t_free (void *ptr)
# endif
COMPILE_REGEXP (re_file_elf,
- "ELF.*(MSB|LSB).*(?:executable|shared object|relocatable),
2010 Jun 14
4
help
On Wed 5/5/2010 3:28 AM
Miller, Shao wrote,
----------------------------------------------
Good day again Matthew,
As per (c=80) * (h=2) * (s=48) * (sect_size=512) = 3,932,160 bytes =
7,680 sectors:
For Windows, you might enjoy:
- "DD for Windows" by John Newbigin and chrysocome[1]
- "ImDisk Virtual Disk Driver" and "Zero and Random Device Driver" by
Olof
2015 Jul 25
2
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
...ou can see lib.exe generates a very simple function import object.
>
> IMPORT_OBJECT[1-N]
> -> contains an IMPORT_OBJECT_HEADER and DATA
> data example -> _MessageBoxA.USER32.dll
>
> dlltool however doesn't create an import object but infact has a complete
> IMAGE_FILE
>
> IMPORT_OBJECT[1-N]
> -> contains an IMAGE_FILE_HEADER and is a full object with SECTIONS
> the .text section has the stub code.
> the .idata$6 section has the name of the function
> it starts with 0x01 0x4D then MessageBoxA without an underscore
>...
2013 Oct 16
9
puppetdb, foreman, one particular node has a problem
...; ("architecture_id", "build", "certname", "comment",
"compute_resource_id", "created_at", "disk", "domain_id", "enabled", "environment",
"environment_id", "hostgroup_id", "image_file", "image_id", "installed_at",
"ip", "last_compile", "last_freshcheck", "last_report", "location_id",
"mac", "managed", "medium_id", "model_id", "name", "operatingsyst...
2016 Aug 25
2
[PATCH] build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.
...cal order.
operations = \
abrt_data \
@@ -217,6 +211,4 @@ depend: .depend
endif
-DISTCLEANFILES = .depend
-
.PHONY: depend docs
diff --git a/test-data/Makefile.am b/test-data/Makefile.am
index 0c37c97..93d094a 100644
--- a/test-data/Makefile.am
+++ b/test-data/Makefile.am
@@ -89,7 +89,7 @@ image_files = \
noinst_DATA = test.iso
-CLEANFILES = test.iso
+CLEANFILES += test.iso
test.iso: $(images_files)
rm -rf d
diff --git a/test-data/blank-disks/Makefile.am b/test-data/blank-disks/Makefile.am
index 2464869..aa20358 100644
--- a/test-data/blank-disks/Makefile.am
+++ b/test-data/blank-dis...